Associating an image with a particular page

Top  Previous  Next

If you wish to associate a single image with a particular page, you can use the ZOOMIMAGE meta tag to tell Zoom the filename and location of the image file to be displayed for this page. You can do this by inserting a meta tag like the following on your web page:

<meta name="ZOOMIMAGE" content="images/redshoes.jpg">
 
This will associate the image "redshoes.jpg" in the images folder with the page that this tag is inserted in. 

This option would be particularly useful for websites where you may have an individual page per product, and you would like a picture of the product to appear along their corresponding pages (or any other website where you may want a single image representing a page).

lightbulb

Note: The path to the image files can be relative or absolute (ie. full http:// URLs). If you are using a relative path, note that the path would be relative to the page that the meta tag was found on. Zoom will automatically resolve this relative path and determine the full absolute path for your image.

If you wish to specify a ZOOMIMAGE meta tag for PDF or other plugin supported file formats, you can do so by creating .DESC files. For more information, see "Using custom description (.desc) files".

Note that the ZOOMIMAGE meta tag has the highest priority over the different image association methods, which means that you can use it to override your thumbnail or icon settings. For example, if you have all PDF files associated with a PDF icon (as described in the next section, "Associating icon image with a file type"), you can still specify a different image for one particular PDF file, by way of a ZOOMIMAGE tag and a .DESC file as described above.