Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Changing the "no image available" thumbnail

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-28-2009, 12:05 PM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default 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!
__________________
v 4.1.11, v 4.2
Reply With Quote
  #2  
Old 04-28-2009, 01:56 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
chamberinternet (10-02-2009), presson83 (04-28-2009)
  #3  
Old 04-28-2009, 01:56 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote

The following 2 users thank balinor for this useful post:
boomobile (09-02-2009), presson83 (04-28-2009)
  #4  
Old 04-28-2009, 02:02 PM
 
presson83 presson83 is offline
 

Senior Member
  
Join Date: Sep 2008
Posts: 143
 

Default Re: Changing the "no image available" thumbnail

Haha, silly me. Thanks guys!
__________________
v 4.1.11, v 4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:04 PM.

   

 
X-Cart forums © 2001-2020