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

create thumbs from large image

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #51  
Old 01-30-2007, 07:43 PM
 
mrrogerz mrrogerz is offline
 

Newbie
  
Join Date: Apr 2006
Posts: 9
 

Default Re: create thumbs from large image

I did all the steps but I am getting this error:

Fatal error: Smarty error: [in product_thumbnail.tpl line 2]: syntax error: unrecognized tag: $type|default:[/img]{/if (Smarty_Compiler.class.php, line 436) in /htdocs/www/shop/Smarty-2.6.12/Smarty.class.php on line 1095

I checked if I uploaded the file into the smarty plugins folder, and it's there.
__________________
Test Site: www.chefsbuddy.com/shop/
Ver. 4.1
Reply With Quote
  #52  
Old 02-01-2007, 08:51 AM
 
grayloon grayloon is offline
 

Member
  
Join Date: Oct 2006
Posts: 27
 

Question Re: create thumbs from large image

Is it possible to have the large image automatically sized to x pixels wide when adding a product?
__________________
X-Cart Pro 4.1.5
Reply With Quote
  #53  
Old 02-05-2007, 10:50 AM
 
grayloon grayloon is offline
 

Member
  
Join Date: Oct 2006
Posts: 27
 

Question Re: create thumbs from large image

Anyone?
__________________
X-Cart Pro 4.1.5
Reply With Quote
  #54  
Old 02-06-2007, 09:27 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: create thumbs from large image

Quote:
Originally Posted by grayloon
Is it possible to have the large image automatically sized to x pixels wide when adding a product?

you can edit include/product_modify.php and do some resampling/resizing
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #55  
Old 02-10-2007, 10:52 AM
 
MallRomania MallRomania is offline
 

Senior Member
  
Join Date: Apr 2006
Posts: 109
 

Default Re: create thumbs from large image

Hello

How can i show detailed image in a pop-up not in a new page? I activate Display detailed images in a popup window but still my images are open in a new page; i also change popup_image from D to P in popup_image.tpl but no succes

Thanks
__________________
Mircea Teleleu
Shopedia.ro-la cumparaturi
www.shopedia.ro
______________________
x-cart gold 4.1.6
Linux
Reply With Quote
  #56  
Old 02-10-2007, 12:16 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: create thumbs from large image

Quote:
Originally Posted by MallRomania
Hello

How can i show detailed image in a pop-up not in a new page? I activate Display detailed images in a popup window but still my images are open in a new page; i also change popup_image from D to P in popup_image.tpl but no succes

Thanks

By nature a "pop up" is a new page. X-cart by default shows all the detail photos in the same pop up window if "Display detailed images in a popup window:" is checked in "Detailed Product Images options".

I couldn't get this particular mod to work at all for version 4.1.6 as the skin1\modules\Detailed_Product_Images\popup_image. tpl appears to be totally different.

I had much better luck with the mod in http://forum.x-cart.com/showthread.php?t=22308 which also uses the Cerdmann imager. I found that I had to play with the settings in "Detailed Product Images options" until I got what wanted depending on what I wanted displayed.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #57  
Old 02-23-2007, 11:54 AM
 
dcorwin dcorwin is offline
 

Advanced Member
  
Join Date: May 2004
Location: Hollywood, CA
Posts: 33
 

Default Re: create thumbs from large image

First, thanks for the great mod! Much appreciated, that was a lot of work!

I get thumbnails in my Recently Viewed Mod and Latest additions, but no thumbs in the detail page, recommended products, or when listing all products from a manufacturer. I skipped Step 9 in your instructions becauseI didn't know where that was supposed to go. Does that sound like the problem? If so where do I put that code?

Thanks
__________________
Dave Polcino
Sampledump.com
Noise & Vision
XCart Pro 4.1.6
Reply With Quote
Reply
   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