Associating thumbnail images with files |
![]() ![]() ![]() |
You can associate thumbnail images for your files so that a small preview of each file can be displayed alongside the links in your search results.
Using this feature, you can configure Zoom to display thumbnails for your image files (indexed using the image plugin as described in "Image indexing"), or even your web pages and PDF documents (so long as you have thumbnail images created for these files).
Select the "Display different thumbnails for each file" option. You should now refer to the right side of the window which will be enabled, entitled "Thumbnail options". These options allow you to tell Zoom where to look for your thumbnail images for each URL of this specific file extension. Note the example URLs given at the bottom of the window are useful in helping you make sure you have this properly configured. They will change according to your settings, and should give you a good idea of what the end result will be. The first text box specifies the folder path for which the thumbnail images will be located. The default is "./" which refers to the current directory (of where the indexed file is located). You can specify a relative directory such as "./thumbs" which will tell Zoom that the thumbnail images will be located in a subdirectory named "thumbs", within the same folder that the indexed file is located. As always with relative paths, you can specify the previous directory with "../", etc. You can also specify an absolute path here. For example, you could specify a path of "http://www.mysite.com/images/" which would tell Zoom that ALL of your thumbnails will be located in the same folder (regardless of where your actual indexed file is located). This method does mean however, that you will not be able to have different thumbnails for files with the same name but located in different folders.
Again, it is important to refer to the example URLs at the bottom of the window, to check if your settings are configured to look for the thumbnails in the correct places.
Thumbnail for non-image file formats As mentioned above, it is possible to setup thumbnails for your non-image file formats such as PDF documents, Word documents, or even your HTML web pages and video file formats. So long as you have these thumbnails generated (using a third party application) and they are hosted on your website with a filename that refers the original file or document, then you can follow the same instructions as above to setup thumbnails for your document and other file formats. Below is an example of a setup with thumbnails generated for PDF and DOC files.
|