View Single Post
  #185  
Old 08-28-2006, 10:27 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Detailed Image(s) Popup 2.1 [3.4.x-4.0.x]

Quote:
Originally Posted by girlsbits
Thanks to Boomer for this mod, it works fine except that instead of showing the default thumbnail image (130x150px) on the product details page, how would I show a resized larger image (250x297) which would then open a popup window on click? The current correct code for the larger image of 250x297 is this:

If I am understanding your question correctly you want to use a detailed image for the thumbnail? If so wouldn't be easiest just to use the thumbnail portion of the product pages for just that thumbnails, except use a larger image instead?

If your still wanting to do such try using $images instead of $product in the include file for the image.

Code:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$images.image_x image_y=$images.image_y product=$product.product tmbn_url=$images.tmbn_url id="product_thumbnail" type="P"}
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote