PDA

View Full Version : Dynamic Thumbnail Images ASP


OSLIB
10-14-2008, 02:53 PM
Greetings,
I am trying to set up a Zoom search with Thumbnails at: http://trophycases.us.com

The thumbnail images for the product pages are dynamically generated using <%=ThumbNailImage%> to call them from a content manager. See bottom paragraph on this page:
http://trophycases.us.com/trophy-case.asp?ID=2253

Can you let me know if there is a naming convention I could use to call the ThumbNailImage to display as a thumbnail in Zoom search? The instructions do not appear to address ASP.

http://trophycases.us.com/search/search.asp?zoom_query=gerhard

Thanks!

Ray
10-15-2008, 02:22 AM
You should use the ZOOMIMAGE meta tag as described in this FAQ:
Q. How do I associate a thumbnail with a particular page? (http://www.wrensoft.com/zoom/support/faq_plugins_image_layout.html#zoomimage)

As your pages are being dynamically generated, it should be fairly easy to add the meta tags with something like:

<meta name="ZOOMIMAGE" content="<%=ThumbNailImage%>">

Hope that helps.

Vernon
10-16-2008, 04:07 PM
Robert

Our approach to displaying product images that are based on the sales code for products is to use the XML feed from Zoom. Since the returned search results is a complete XML page, we can iterate through it and parse it using ASP to create our own HTML output, deriving the image src from the sales code of the product.

Not exactly a quick fix (sorry!), but we've found the XML output a wonderful route to go to give us complete control over how the output is displayed.