| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
create thumbs from large image | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: create thumbs from large image
Quote:
omg i cant believe im that numb, i put it in my live site directory not my testing one, which im using for this -thanks |
|||||||
#12
|
|||||||||
|
|||||||||
Re: create thumbs from large image
thank you very much for the mod!
can you include a watermark code for this? i will be very happy keep up the good work cheers!
__________________
// x-cart 4.1.9 X-CART CSS SKIN XC SEO IP Addresses in Users Online for all users Color coded order status |
|||||||||
#13
|
|||||||
|
|||||||
Re: create thumbs from large image
this is without implementing your code, just out of box x-cart install.
really weird. I guess this is part of x-cart? upload thumbnail and product image for lets say comic book and save it. then delete comic book product image. customer view will still show a picture in the product image and it's from the thunbmail. am using image location, file server.
__________________
4.1.3 |
|||||||
#14
|
|||||||
|
|||||||
Re: create thumbs from large image
Nice mod, just what I´m looking for.
But it did require some extra work to get it working on v4.1.3 I doublechecked all your instructions but I kept getting SQL errors on my pages. I found out that the SQL-error disappears when I remove 'as' from the line Code:
Now the thumbs do work when viewing a product, but when viewing the products in a categorie (products.tpl) they still aren´t passed using the thumb function. instead they are generated by image.php, which means that for product_thumbnail.tpl both the $tmbn_path_p and $tmbn_path_t variables are empty. Why isn´t func.product.php filling those?
__________________
Showoff Imports.nl - Largest Tuning Store of Europe ----------------------------------- Currently using X-Cart 4.1.3 |
|||||||
#15
|
|||||||
|
|||||||
Re: create thumbs from large image
This:
Code:
should be: Code:
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#16
|
|||||||||
|
|||||||||
Re: create thumbs from large image
In step 3.
>In include\func\func.product.php I dont see a "func" folder in my "include" folder?
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
#17
|
|||||||
|
|||||||
Re: create thumbs from large image
It is in the root of your xcart install, not the skins1 folder.
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#18
|
|||||||||
|
|||||||||
Re: create thumbs from large image
I know where the "include" folder is. I'm saying I don't see a "func.product.php" file.
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
#19
|
|||||||
|
|||||||
Re: create thumbs from large image
Is there a func folder inside the include folder?
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#20
|
|||||||||
|
|||||||||
Re: create thumbs from large image
You posted:
3. This step modifies the product.php page so that when you are searching, it returns the path to the product image. In include\func\func.product.php find the following: This is where I got lost " include\func\func.product.php" No func inside the include folder
__________________
Road Rash Apparel LLC www.roadrashapparel.com X-Cart Gold Ver.4.1.8 DSEFU Mod PHP 4.3.11 MySQL server 4.1.22-max-log MySQL client 5.0.18 Web server Apache Operation system Linux Perl 5.008 XML parser (expat) 1.95.6 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|