Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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).