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

Thumbnails in seperate folder

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-26-2004, 04:34 AM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default Thumbnails in seperate folder

Hi,

I have spent quite a bit of time searching for forums, but cannot find the information I'm after.

What I would like to do is have a seperate folder for different sized thumbnails so that x-cart does not need to resize a large image and thus reducing the file sizes of images used as thumbnails.

Basically, all I need to know is what to edit in which file to call the smaller thumbnail image, rather than the larger image that is reduced to create a thumbnail in x-cart.

Any help, ideas or suggestions would be greatly appreciated.

TIA
__________________
X-Cart Gold Version: 4.0.17
X-Configurator
X-AOM
X-FancyCategories
X-RMA
X-Offers
Reply With Quote
  #2  
Old 06-26-2004, 09:57 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

I just create thumbnails the correct size right off the bat. I don't ask X-Cart to do any resizing. So if my thumbnail width is set to '100' then I make all my thumbnails in Fireworks (using the batch feature) to a width of 100 pixels.

X-Cart by default stores thumbnails, category images and detailed product images in different tables in the database or if you are keeping your images in the filestsystem they are named differently so you can distinguish between them when thay all live in the same directory.
Reply With Quote
  #3  
Old 06-26-2004, 01:15 PM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default

I could be missing something here?

If I create e.g. a 50px thumbnail image and add it to a particular product, how do I add a larger image (not detailed images) such as 200px to display on e.g. the product detail page?

Also, by 'file system' am I correct in assuming that the images are literally stored in e.g. the 'images' folder?

Also, Is it possible to keep the original image name e.g. I might have a particular image that I would like to have the same name for its thumbnail, detailed image etc. so that It can easily be identified?

TIA
__________________
X-Cart Gold Version: 4.0.17
X-Configurator
X-AOM
X-FancyCategories
X-RMA
X-Offers
Reply With Quote
  #4  
Old 06-26-2004, 01:20 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Quote:
Originally Posted by laureon
I could be missing something here?
It would seem so...
Quote:
Originally Posted by laureon
If I create e.g. a 50px thumbnail image and add it to a particular product, how do I add a larger image (not detailed images) such as 200px to display on e.g. the product detail page?
That would be custom functionality if you want to use 2 different sized images rather than resizing an image. I do not believe that X-cart can do it your way out of the box.
Quote:
Originally Posted by laureon
Also, by 'file system' am I correct in assuming that the images are literally stored in e.g. the 'images' folder?
You can define the location of your graphics via the Image Location link in your admin.
Quote:
Originally Posted by laureon
Also, Is it possible to keep the original image name e.g. I might have a particular image that I would like to have the same name for its thumbnail, detailed image etc. so that It can easily be identified?
More custom functionality. It all comes down to how much time do you want to spend modding or money to spend having it done for you.

Good luck.
Reply With Quote
  #5  
Old 06-26-2004, 01:26 PM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default

I feel better now that I have not overlooked something. Personally I feel that the functionailty I would like should perhaps already exist within x-cart out of the box. I will have a ponder and see if I can't find a suitable method to achieve what I desire.

thanks for your help adpboss
__________________
X-Cart Gold Version: 4.0.17
X-Configurator
X-AOM
X-FancyCategories
X-RMA
X-Offers
Reply With Quote
  #6  
Old 08-23-2004, 12:20 AM
  EnriqueHavoc's Avatar 
EnriqueHavoc EnriqueHavoc is offline
 

eXpert
  
Join Date: Jul 2004
Posts: 232
 

Default

I am interested in this functionality too.. it seems like it should be something that is available out of the box but i cant figure out how to do it in 4.0.

Currently, the product thumbnail is auto-resized down for the category display(which is good) but I dont like the way it ends up looking. id rather there was an option to upload different sized thumbails as seperate files
__________________
X-Cart 4.0.12
PHP 4.3.11
MySQL 4.0.23
Linux/Apache
Net::SSLeay 1.25
libCURL libcurl/7.12.0 OpenSSL/0.9.7a zlib/1.1.4
www.ewdhosting.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 06:12 AM.

   

 
X-Cart forums © 2001-2020