Hi! Excellent site. I have PDF a document with small thumbnal images and a text description inside. I would like to know if it is possible to make an action that shows the resized (real size) images in a popup window or form window by clicking on the small thumbnail image or eventually on a text link. The bigger images are stored in a directory next to the pdf file.
I made the images open in separated web browsers but I don't find it practical I am looking forward to find a fast and above the pdf solution where the user don't have to bother in going to the browser.
Thanks very mush in advance.
Jose.
The easiest way is to import the full images into the PDF as Pages. Then just navigate to that page.
Another method is import the images into a button field. Loading button images from a file is problematic in any Acrobat version, but it's completely restricted in Reader 8, so this may not work for you.
A variation on this method is to import the images into the PDF as Named Icons, then apply them to a button.
Anoter vaiation is to use custom dialogs to display the image. The image must be stored as a named icon in the PDF. Then you write code to convert the named icon into a different image format which is used by the dialog image object. While this method looks nice and keeps the full display of the image outside the PDF, it can be very, very slow. The bigger the image the slower it is.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script