Forums / Templates, Stylesheets, Page Layout / Different image folders

Different image folders

Locked

Views: 1,354

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Nov 2006, 4:19 PM
#1
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Different image folders

This must have been asked before, but I didn't find anything in search. For a site with a lot of images I would like to put the standard small images into categories, each with a subfolder in the main images folder.

Likewise, to put medium images in category subfolders in the images/medium subfolder, and the same with large. Then for all those images to appear on the various pages.

I see there are already some subfolders called, eg, dvd. What is the way to do this?

Regards,

Patrick

15 Nov 2006, 5:31 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Different image folders

Follow the pattern:
/images
/images/medium
/images/large

/images/something
/images/medium/something
/images/large/something

/images/somethingelse
/images/medium/somethingelse
/images/large/somethingelse

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Nov 2006, 1:43 PM
#3
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Different image folders

Thanks for the answer. With:

/images/something
/images/medium/something
/images/large/something

/images/somethingelse
/images/medium/somethingelse
/images/large/somethingelse

... will images uploaded into those "something" folders be found automatically? I presume not, as there needs to be a way to specify the various "something" folders when a new product is created.

So, if when adding a new product image I upload to /images/something, will the medium and large images in the "something" folder automatically be referenced for display?

Regards,

Patrick

15 Nov 2006, 5:20 PM
#4
pcmt avatar

pcmt

New Zenner

Join Date:
Jun 2006
Location:
Manchester UK
Posts:
59
Plugin Contributions:
0

Re: Different image folders

Yes, it does, as long as I remember to 777 the new folders.

Neat.

15 Nov 2006, 6:27 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Different image folders

Thanks for the update that you found this does work for you automatically ...

The images are found from the base name and locates all images from that, including the path for small, medium, large, additional and additional large images ...

NOTE: additional images belong with the base image and additional large images belong with the large image ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!