Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Open thumbnail image to larger size image in popup or new window in Livecycle Designer

Avatar

Level 1

Is there a way to create a form in Livecyle Designer and add thumbnail images and then be able to click on a thumbnail image and a larger version of the image pops up in a popup window or a new window? I tried the gotourl function and referenced the image on the hard drive but this did not work because it is not a url. Is there javascript to do this ie. app.openDoc(c:\image.jpg, NewWindow);?

Thank you.

2 Replies

Avatar

Level 6

I do not see an option to do that in LC.....however if your intent is to display enlarged image here is what you can do.....

load all your thumbnail images and have blank Image field next to them using mouseEnter and mouseExit events display the image that gets focus....like...

//mouseEnter

this.parent.ImageField2.dataNode.value

= this.parent.ImageField1.dataNode.value;

//mouseExit

this.parent.ImageField2.dataNode.value

= "";

Note: Do not forget to set "Scale Image Proportionally"

Good Luck;