2 Replies Latest reply on Jun 1, 2009 2:28 AM by Michael Borbor

    Some question about image component

    yancaoshi

      Hi,

       

      I encounter two questions when using image component and can't solve it myself after reading online document.

       

      1. How can I get image source at runtime? I find image.source return an Object class, but not the source image path.

       

      2. How to ensure image loading image correctly? In my itemRenderer, I set image source with this

      source="{appURL}+{data.picname}"

      I am sure there's no problem with the path, but it shows a broken image. What's the right way?

       

      Thanks,