Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Dynamic Iimage Field

Avatar

Former Community Member
hi,



is there a way i can dynamically change the image field url?



i can't find a way to reference it.



i tried the following code, but it does not seem to work...



this.value.image.href="http://msn.mess.be/data/media/43/penguin.gif";



Thanks!
1 Reply

Avatar

Former Community Member
Yhou have the correct command but Acrobat/Reader has been changed in version 8 to stop the program from getting an image dynamically (for security reasons).



You can get a new image through a data connection (Web Service or embedded in data).