Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Detailed Product Images Popup on Thumbnail click.

 
Closed Thread
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 02-06-2003, 09:57 AM
 
davegray davegray is offline
 

Member
  
Join Date: Feb 2003
Posts: 15
 

Default I'm getting closer

I am getting closer to a solution.

I went and looked in the database in the images table.

I only found the records for the two that I made manually. The 609 that xcart told me it retrieved from my csv was wrong, or the new version is putting the info somewhere else.

Any suggestions
??

thanks everyone

dave
  #12  
Old 02-06-2003, 10:23 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

You may need to repost your question in the batch uploads forum to get a better answer, as this forum is for custom templates since it isn't related, are the 2 detailed product images you did upload working correctly with the custom template?

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
  #13  
Old 02-06-2003, 08:12 PM
 
davegray davegray is offline
 

Member
  
Join Date: Feb 2003
Posts: 15
 

Default

Quote:
are the 2 detailed product images you did upload working correctly with the custom template?


Boomer, Nope they do not work with the two manuals, but I can see the two manual ones at the bottom of the detail product page (if i do not disable it).

dave[/quote]
  #14  
Old 03-01-2003, 09:44 AM
 
arnold arnold is offline
 

Newbie
  
Join Date: Feb 2003
Location: Ct USA
Posts: 1
 

Default Can this be made to work in version: 3.2.5

Can this be made to work in version: 3.2.5 , I tried to do it for days and I just can not get it to work

Thank you
Arnold
  #15  
Old 05-09-2003, 12:29 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default little enhancement to this great mod

To make detailed images popup window look nicer,
just change the code in

/modules/Detailed_Product_Images/product_images.tpl

to this one:


Code:
{ config_load file="$skin_config" } <html> <head> <title>PhotoGift.net : The best place to get unique photo items for someone special. </title> { include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </head> <body> <table border="0" cellpadding="10" cellspacing="0" weight="100%" height="100%"> <tr><td align="center" valign="middle" > {capture name=dialog} {if $images ne ""} {section name=image loop=$images} {if $images[image].avail eq "Y"} [img]../product_image.php?imageid={$images[image].imageid}[/img] {/if} {/section} {/if} <center> <form> <input type="button" value="Close" onClick="window.close()"> </form> </center> {/capture} {if $smarty.capture.dialog ne ""} {include file="dialog.tpl" title="Detailed images" content=$smarty.capture.dialog extra="width=100%"} {/if} <td> </tr> </body> </html>
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
  #16  
Old 05-09-2003, 01:57 PM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

27stars,

Got an example you could post? I definitely like to see it.

Thanks
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat]
  #17  
Old 05-09-2003, 04:42 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default

> Got an example you could post? I definitely like to see it.

http://www.photogift.net

The window itself does not do much, I just added headers and link to
cart's css and close button.
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
  #18  
Old 05-09-2003, 04:57 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

Nice mod, one thing I might suggest is doing this:


This way the user can click the image to close the window as well
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
  #19  
Old 07-25-2003, 01:54 AM
 
yipcha yipcha is offline
 

Newbie
  
Join Date: May 2003
Posts: 7
 

Default problem with detailed products image on thumbnail mod

I have been having quite a time trying to get this mod to work correctly for me. It will succesfully bring up the pop-up window but I can't seem to get a detailed picture to show. I have enabled detailed pics in the admin/module area. And I even put the product_detailed_images.php in both skin1/customer/ and in customer outside of skin1
below is the code that I changed in skin1/customer/main/product.tpl per instructions, but I must have done it wrong somehow. I am using xcart 3.3.6 gold if that matters? Perhaps someone can tell? any help would be greatly appreciated.
Code:
{* $Id: product.tpl,v 1.59.2.2 2003/01/23 14:37:23 basil Exp $ *} {literal} <SCRIPT language=JavaScript1.2> <!-- function productimagedetail(product_id) { var w = "420"; //width var h = "420"; //height window.open('customer/product_detailed_images.php?productid='+product_id,"detailedproduct","width="+w+",height="+h+",resizable,scrollbars=yes"); } --> </SCRIPT> {/literal} <!--{if $active_modules.Detailed_Product_Images ne ""} {include file="modules/Detailed_Product_Images/product_images.tpl" } {/if}-->
  #20  
Old 07-25-2003, 05:33 AM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default

product_detailed_images.php should be under xcartdir/customer
not skin1 directory.

Hop this helps,
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Closed Thread
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:35 AM.

   

 
X-Cart forums © 2001-2020