![]() |
Thumbnail of alternate view under product image
I have 2 to 3 images for each product. 1 main one that is used for the Product Image and 1 or 2 alternate views of the same product.
I would like to have thumbnails of "alternate views" placed under the Product Image with either... 1. Popup when the alternate view thumbnail is clicked. OR, even better... 2. When the alternate view thumbnail is clicked, the Product Image is repaced with the full size image of the alternate image. Any ideas on how I can do this? Thank you! |
Re: Thumbnail of alternate view under product image
You use a module "Detailed images" for adding additional pictures for the products?
|
Re: Thumbnail of alternate view under product image
With detailed images module, it doesn't generate thumbnails under the product image for the alternate view images. It just gives me a link for a popup.
|
Re: Thumbnail of alternate view under product image
Quote:
1. Popup when the alternate view thumbnail is clicked. Open file "skin1/customer/main/product.tpl" and find next lines: PHP Code:
PHP Code:
|
Re: Thumbnail of alternate view under product image
I've implemented this with just a slight change so that the images appear next to each other rather than under each other...just moved the <tr> tag above and below the <section> tags.
One problem I am running into now is that on some products I have about 6 detailed images. As it is, they are all appearing on the same row and pushing everything else to the right. My question: Is there any way to tell the script to put 3 images across then start a new row if there are more than 3 images to a row? Hope that is clear... Thank you in advance for your help! |
Re: Thumbnail of alternate view under product image
Quote:
Try to help you later, there is no free time for that. |
Re: Thumbnail of alternate view under product image
Why are you putting images inside of a table? table = tabular... you only use table tags for data... never images. You can recover some cart speed by using this trick.
instead of table tags use div tags and limit your image by adding style comment to your image i.e. style="float:left" example: <div style="whatever-you-want;"> <img src"./images/D/xxxxxxxx.jpg" style="width:70px; height:70px; float:left; what-ever-else-you-want;" /> </div> Just use similar code to this around the smarty tags and you'll start to sort out how to control your images a lot better. |
Re: Thumbnail of alternate view under product image
Quote:
Hi thanks for the reply. I am a novice so appreciate the info. But what I am running into is that I want each image to appear in a horizontal row then wrapping to the next row after "x" number of images in a row. By putting the div tag within the loop tag, wouldn't that cause each image to appear in a new row/under the previous image? Is there a way to accomplish what I am trying to do without using the table tag? Thanks for your help! |
Re: Thumbnail of alternate view under product image
Quote:
I tried the above code but took out the table tags and just did the following Quote:
The problem I am having is that they are being rendered differently in FF3 and IE7. On FF3, it works fine and images appear next to each other then wraps to the next line as necessary. On IE7, only one image appears on a line then the next image moves to the next line so that I have 6 images on 6 different lines even though there's plenty of room on a line to show 3 images as it does on FF3. Does anyone know what may be causing the difference between IE7 and FF3? |
Re: Thumbnail of alternate view under product image
did anyone manage to get this to work properly ?
|
Re: Thumbnail of alternate view under product image
Does anyone know how to make this work so that the image that is clicked on is the one that pops up. they way it is currently working the thumbnails show for the detailed images, but when you click on any of the images the first image is the one that pops up.
|
All times are GMT -8. The time now is 05:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.