Forums / General Questions / Into which folders do product and category images go into

Into which folders do product and category images go into

Locked

Views: 991

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Mar 2009, 11:27 PM
#1
beyre avatar

beyre

Zen Follower

Join Date:
Feb 2009
Posts:
422
Plugin Contributions:
0

Into which folders do product and category images go into

Are moving products from an x-cart database into zencart ... and we need to know exactly which folders house the product thumbnails, detailed product images, and the category/sub-category images?

1 Mar 2009, 11:49 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Into which folders do product and category images go into

They all go into the images folder in the site's root, but where they go in the file structure below that top level folder depends upon the data that you put into the image column entries in the products and categories table (which are relative to the images folder).

So for example: if you have a category shoes with an image shoes.jpg you may choose to create a categories subdirectory and define the relevant category image as "categories/shoes.jpg".

Products are typcially put straight into the images folder, probably because that's the way the demo data is structured. However, I prefer to create a products folder and then define my product images as (for example) "products/jimmy-choo-gold-strapless.jpg". You need to watch the field length though (and for some sites I've lengthened it in the database schema).

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Mar 2009, 12:16 AM
#4
beyre avatar

beyre

Zen Follower

Join Date:
Feb 2009
Posts:
422
Plugin Contributions:
0

Re: Into which folders do product and category images go into

Thank you so much for your help. I have passed this information along to our database guy.

That tutorial was not easily found ... as I was looking for a section on images. The tutorial was exactly what I was looking for though.

:bigups: