X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Changing the "no image available" thumbnail (https://forum.x-cart.com/showthread.php?t=47245)

presson83 04-28-2009 12:05 PM

Changing the "no image available" thumbnail
 
Hi All,

I see that the "no image available" thumbnail is dynamically generated via image.php. Is there a way to instead specify an image to be used when no image is specified for a product?

Let me know, thanks!

cflsystems 04-28-2009 01:56 PM

Re: Changing the "no image available" thumbnail
 
Yes, there is an image file in your root directory called default_image.gif which you can replace with your own image with the same name or you can open config.php and find this
Code:

# Default images
#
# The variable $default_image defines which image file should be used as the
# default "No image available" picture (a picture that will appear in the
# place of any missing image in your X-Cart-based store if no other "No image
# available"-type picture is defined for that case).
#
$default_image = "default_image.gif";

and change the variable to your own image

balinor 04-28-2009 01:56 PM

Re: Changing the "no image available" thumbnail
 
They are in your root directory, just upload images to replace them. default_image.gif, default_logo.gif, default_icon.gif.

presson83 04-28-2009 02:02 PM

Re: Changing the "no image available" thumbnail
 
Haha, silly me. Thanks guys!


All times are GMT -8. The time now is 11:49 AM.

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