You need to sign in to do that
Don't have an account?
ericmonte
Site.com dynamic image
Is it possiblie to retrieve the image dynamically from a record? For example, in a regular visualforce page we can use apex:image and you can set the value based on the image file that was uploaded.
Currently, in my object i have a field where it holds the URL for the uploaded image. I'm able to use apex:image in a regular Visualforce page, but I cant seem to figure out a way to dynamically display the image based on the URL from the record.
Is this even possible?
Currently, in my object i have a field where it holds the URL for the uploaded image. I'm able to use apex:image in a regular Visualforce page, but I cant seem to figure out a way to dynamically display the image based on the URL from the record.
Is this even possible?
Yes, its possible.
Assume the variable that has the image name is VarImage.
<apex:image id="theImage" value="{!VarImage}" width="220" height="55"/>
will do the trick.
********************************
Hope this helps!
JG
********************************
Hope this helps!
JG