![]() |
detailed pictures dosn't load correctly
I played around with it some more even tried "window.open('..customer/product_detailed_images.php?" I tried changing the permissions on the both product.tp and product_detailed_images.php because the window opens so product.tpl is working? but the picture isn't showing so doe that mean it can't find product_detailed_images.php to capture the image?
My modified product.tpl(chmod644) is in skin1/customer/main & my product_detailed_images.php(chmod755) is in xcartdir/customer (I deleted the duplicate I had in skin1/customer) I did notice when changing the file that the format of what I was looking for was a little different than what boomer posted I must be using a different version (3.3.6) below is my product.tpl if that helps. :? Code:
* $Id: product.tpl,v 1.59.2.2 2003/01/23 14:37:23 basil Exp $ *} PHP Version 4.3.2 Mysql Version 4.0.13 Xcart 3.3.6 gold |
figured it out works now
thanks stars I figured it out I commented out the wrong line and somehow it was making it not work but it works now..... :P -sorry I posted my whole file in retrospect that probably is not forum kosher... my bad apoligies all around... :)
|
What if some thumbnails have detailed images but others do not? It's not too cool to have a blank window pop up when there's nothing there. I thought the first {if $active_modules..... } statement around the image would take care of this, but it does not. HELP!
Thanks!! |
.
HELLO,
I wonder if this code will also work for detailed product images, if I have 3 to 4 images than it will be too big space to hold them , so If I use code similar to that will that work for detailed product images to go in more detail :roll: |
> if I have 3 to 4 images
Your popup window will have vertical scroll bar so people can see all the images. |
Hi Boomer, just reading your code for detailed images!
Do you know if it is possible to have the detailed images linking... in my case i would like to link to a pdf file.
Also how do I put text into the detailed images box next to the relavent image. Regards Tye |
Re: Hi Boomer, just reading your code for detailed images!
Quote:
Sure. Just put <a> tag around Code:
[img]../product_image.php?imageid={$images[image].imageid}[/img] and add text under this code in /modules/Detailed_Product_Images/product_images.tpl |
But what if some products do not have a detailed image while others do? Blank popup windows suck. The "{if $active_modules..... }" statement around the image doesn't seem do it. I still can't figure it out.
|
Quote:
{if $images}...{/if} ;) |
Full code! Is this correct!
{* $Id: product_images.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *}
{if $images ne ""} {capture name=dialog} {section name=image loop=$images} {if $images[image].avail eq "Y"} [img]../product_image.php?imageid={$images[image].imageid}[/img] {/if} {/section} {/capture} {if $smarty.capture.dialog ne ""} {include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"} {/if} {/if} [img]../product_image.php?imageid={if $images[image].imageid}[/img] |
All times are GMT -8. The time now is 10:28 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.