X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   create thumbs from large image (https://forum.x-cart.com/showthread.php?t=24233)

mrrogerz 01-30-2007 07:43 PM

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.

grayloon 02-01-2007 08:51 AM

Re: create thumbs from large image
 
Is it possible to have the large image automatically sized to x pixels wide when adding a product?

grayloon 02-05-2007 10:50 AM

Re: create thumbs from large image
 
Anyone? :lol:

inebriate 02-06-2007 09:27 PM

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

MallRomania 02-10-2007 10:52 AM

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

JWait 02-10-2007 12:16 PM

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.

dcorwin 02-23-2007 11:54 AM

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


All times are GMT -8. The time now is 09:37 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.