Forums / General Questions / All images in one folder - good or bad?

All images in one folder - good or bad?

Locked

Views: 1,508

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
29 Aug 2008, 9:44 PM
#1
ebaobao avatar

ebaobao

Zen Follower

Join Date:
Jul 2008
Posts:
495
Plugin Contributions:
0

All images in one folder - good or bad?

Hello,
I'm currently putting all my product images in one folder. I was wondering if this is a good or bad idea. I'm wondering if it will cause the website to slow down if the products customers are viewing has to pull through all that dat to pick the right file to display the image. I know from windows explorer when viewing a folder that has a lot of images, it takes a long time to view all the images.

So what are your thoughts? Thanks.

30 Aug 2008, 12:59 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: All images in one folder - good or bad?

The code doesn't have to view each image. As far as I know, the main reason for using separate subfolders would be for human organizational purposes, if you have so many images that you can't keep them straight in one folder.

30 Aug 2008, 1:05 AM
#3
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Be careful, though. Many hosting services limit folders to 2000 files.

30 Aug 2008, 5:34 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Although the Folder limit of 2,000 is just a Linux default and easily changed by the Hoster, it is also true that the number of files within a Folder should be easily managed by a Human. There is also the maintenance issue, having images separated by some sort of scheme that makes sense to the site Owner is just a good idea. :smile:

The learning is in the doing.

Potent Products

30 Aug 2008, 5:48 AM
#6
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Well, one of the reasons I chimed in here is because I am facing that exact problem- I took on a web site that was originally in ColdFusion, and when I got the database and images, there were over 8,000 images in one folder.

Needless to say, I'll be needing a very large bottle of aspirin sorting things out.

3 Jul 2010, 3:38 AM
#8
msrwebmaster avatar

msrwebmaster

New Zenner

Join Date:
Sep 2008
Location:
Calgary, AB
Posts:
33
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Posted via Mobile Device

My Sewing Room
#148, 8228 Macleod Tr SE, Calgary, AB T2H 2B8
mysewingroom.ca

3 Jul 2010, 3:48 AM
#9
msrwebmaster avatar

msrwebmaster

New Zenner

Join Date:
Sep 2008
Location:
Calgary, AB
Posts:
33
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Please forgive me if this is a total noon question. I have taken over administration on our website and have found that like bobdog I have an image folder with over 14k images. It takes forever!!!! What I was wondering is, what sort of steps do I need to take to start organizing this. Specifically, do I need to do any sort of code changes to move images into subfolders? I was thinking of organizing them by category as that would keep the folder at least manageable. Any pointers from people who know what they are doing would be greatly appreciated. Keep in mind that I know exactly nothing about Zen cart, how it was installed on our server or how to set it up etc etc. I am trying to remedy that as fast as I can.. Many thanks in advance
Posted via Mobile Device

My Sewing Room
#148, 8228 Macleod Tr SE, Calgary, AB T2H 2B8
mysewingroom.ca

3 Jul 2010, 3:48 AM
#10
msrwebmaster avatar

msrwebmaster

New Zenner

Join Date:
Sep 2008
Location:
Calgary, AB
Posts:
33
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Please forgive me if this is a total noob question. I have taken over administration on our website and have found that like bobdog I have an image folder with over 14k images. It takes forever!!!! What I was wondering is, what sort of steps do I need to take to start organizing this. Specifically, do I need to do any sort of code changes to move images into subfolders? I was thinking of organizing them by category as that would keep the folder at least manageable. Any pointers from people who know what they are doing would be greatly appreciated. Keep in mind that I know exactly nothing about Zen cart, how it was installed on our server or how to set it up etc etc. I am trying to remedy that as fast as I can.. Many thanks in advance
Posted via Mobile Device

My Sewing Room
#148, 8228 Macleod Tr SE, Calgary, AB T2H 2B8
mysewingroom.ca

3 Jul 2010, 4:27 AM
#11
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: All images in one folder - good or bad?

@crayoneater, you already have a large task ahead of you with just learning the basics for day-to-day operations. Might not be a bad idea to wait abit before tackling the images situation.

To prepare for that task though and to do it quickly & efficiently, you should download a module called EasyPopulate - v1.2.5.4 is the best one I believe even though there are newer versions. Get familiar with how the mod works and it will make things better for you.

The learning is in the doing.

Potent Products

4 Jul 2010, 3:11 AM
#12
msrwebmaster avatar

msrwebmaster

New Zenner

Join Date:
Sep 2008
Location:
Calgary, AB
Posts:
33
Plugin Contributions:
0

Re: All images in one folder - good or bad?

Thank you for that Great Advice! I Beleive the site is already running EasyPopulate, I have NO IDEA at all how it works or the why & wherefore of it... I have only just finished setting up a Local test server as the chap who set this all up for us was editing the live version online which I am extremely reluctant to do, especially since I have no idea what I am doing yet. Any hints on where to look for information on how this EasyPopulate Mod works?

My Sewing Room
#148, 8228 Macleod Tr SE, Calgary, AB T2H 2B8
mysewingroom.ca