![]() |
replace image.php with full image url
Hi all!
Does anyone know how to replace '/image.php?type=P&id=' on the product page with a full image url (in product_thumbnail.tpl). Like 'http://www.angelsdream.com.au/image.php?type=P&id=70' must be 'http://www.angelsdream.com.au/images/D/comet_diana_bra.jpg' image.php works fine, but I found that image with full url loads faster than image.php and Google doesn't recognize it as image and doesn't include in image search. Thanks. |
Re: replace image.php with full image url
You want to store the images in the filesystem not the database.
In the x-cart admin there is an option to change where the images are located. See under the "administration' section of the x-cart admin. Rubyaryat |
Re: replace image.php with full image url
All pictures are in the file system from the beginning.
|
Re: replace image.php with full image url
Have you verified that by looking at your 'xcart_images_P' table?
Do you have blob data in the 'image' fields? Rubyaryat |
Re: replace image.php with full image url
in 'image' field: [BLOB - 0 B]
in 'image_path': ./images/P/lola_luna_hawai.jpg it's a first record in this table: 56 49 [BLOB - 0 B] ./images/P/lola_luna_hawai.jpg image/jpeg 300 450 39981 lola_luna_hawai.jpg 1217167379 Y 0 ebd7a39f67d0c31d64c6dbf35cc33c86 |
Re: replace image.php with full image url
I would look into CDSEO Pro or your other mods as a possible cause.
It's hard to tell what's causing it without investigating your site. Rubyaryat |
Re: replace image.php with full image url
Problem has been fixed.
It was caused by the code in the custom mod. Thanks rubyaryat. |
All times are GMT -8. The time now is 09:37 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.