| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
replace image.php with full image url | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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.
__________________
X-Cart Gold Plus 4.6.6 A lot of custom mods |
|||||||
#2
|
|||||||||
|
|||||||||
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
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
#3
|
|||||||
|
|||||||
Re: replace image.php with full image url
All pictures are in the file system from the beginning.
__________________
X-Cart Gold Plus 4.6.6 A lot of custom mods |
|||||||
#4
|
|||||||||
|
|||||||||
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
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
#5
|
|||||||
|
|||||||
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
__________________
X-Cart Gold Plus 4.6.6 A lot of custom mods |
|||||||
#6
|
|||||||||
|
|||||||||
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
__________________
Rubymods.com - Your X-Cart services partner for over 9 years. Modules offered: FedEx labels, Live currency rates, GeoIP, Order Audit, Multiple e-goods. X-Cart Store Hosting, project management and affiliates program available. 4.2.3 gold [Unix] |
|||||||||
#7
|
|||||||
|
|||||||
Re: replace image.php with full image url
Problem has been fixed.
It was caused by the code in the custom mod. Thanks rubyaryat.
__________________
X-Cart Gold Plus 4.6.6 A lot of custom mods |
|||||||
|
|||
X-Cart forums © 2001-2020
|