Welcome Guest, Not a member yet? Register   Sign In
Multiple Image folders
#1

[eluser]bugboy[/eluser]
Hello all

I'm having a debate with myself about this.

I've created a system that has a blog and a news section and a gallery.

Now each of these areas when adding an item to it it allows you to add an image. But at the moment they each add the image to there own folder. so if i added a news item it would add the image to the folder news_images.

Would it make more sense to have one folder for all the images to be uploaded to or keep them seperate?

The folder struture at the min is getting on my nerves but it does mean when mving the system its easer to keep it organised.

What does every one else do? Whats the best approach.

note i have codeigniter rename the image if its already in the folder to avoid issues if an image is deleted.

Cheers
#2

[eluser]Sean Murphy[/eluser]
Two things you'll want to consider:

1) How many images will you eventually need to support on your system. Some file systems have a limit on how many files they can support per directory.

2) If you want to be able to search/share files in the different directories. If you do want to, you may have to do extra programing to account for files being stored in different directories.
#3

[eluser]bugboy[/eluser]
Interesting. Thanks




Theme © iAndrew 2016 - Forum software by © MyBB