| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Thumbnail of alternate view under product image | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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!
__________________
4.1.10 Gold |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You use a module "Detailed images" for adding additional pictures for the products?
|
|||||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
4.1.10 Gold |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 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:
|
|||||||||
#5
|
|||||||
|
|||||||
![]() 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!
__________________
4.1.10 Gold |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
Try to help you later, there is no free time for that. |
|||||||||
#7
|
|||||||
|
|||||||
![]() 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.
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired xCart Pro Version 4.3.1 - production xCart Pro Version 4.5.1 - testing RHEL Platform |
|||||||
#8
|
|||||||
|
|||||||
![]() 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!
__________________
4.1.10 Gold |
|||||||
#9
|
|||||||
|
|||||||
![]() 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?
__________________
4.1.10 Gold |
|||||||
#10
|
|||||||
|
|||||||
![]() did anyone manage to get this to work properly ?
|
|||||||
|
|||
X-Cart forums © 2001-2020
|