PDA

View Full Version : Path Setup, Best Pratice


wcbert33
12th of October 2006 (Thu), 16:54
Path Setup, Best Pratice
I have EE v2.0 working and in the process of uploading my photos. I was wondering what most people do with the paths? In my case I have created in EE Small and Large photos so my paths are now:

http://mywebsite/ee/eephotos/large
http://mywebsite/ee/eephotos/small
http://mywebsite/ee/eephotos/thumbs
http://mywebsite/ee/eephotos/microthumbs

Is it better to create paths by the Groups?

For example I have photos of Spain and photos of New York City. Each is the Group so I was thinking that I should start creating paths like this:

http://mywebsite/ee/eephotos/Spain/large
http://mywebsite/ee/eephotos/Spain/small
http://mywebsite/ee/eephotos/Spain/thumbs
http://mywebsite/ee/eephotos/Spain/microthumbs

http://mywebsite/ee/eephotos/NYC/large
http://mywebsite/ee/eephotos/NYC/small
http://mywebsite/ee/eephotos/NYC/thumbs
http://mywebsite/ee/eephotos/NYC/microthumbs

What do you think?

Thanks
Bill

Pekka
12th of October 2006 (Thu), 17:23
Using groups as reference might be confusing in the end, when you start moving exhibitions around.

One idea: Create paths by sizes. Forget exhibitions, groups and photos when talking about sizes. That is easy to understand, and it is easy to move e.g. largest sizes to another server to distribute bandwith.

For EE it does not matter where the thumb is and where the big images are. It's primary task in this area is to keep filenames unique on upload. My tips on how to organize paths is:
- keep it simple
- the path system can be anything, as long as you understand it and can do backups easily.

I would not make a separate thumb folder for each exhibition. There is no speed gain in separating thumbs, apart from faster listings in editor (this may start to show with 5,000-10,000 thumbs in one path). Only real limit is operating system limit on files in a folder.

PS. After you have created and used a size path, do not change its resize method's scaling size - this will confuse you which sizes are where, i.e keep paths "size-specific".

wcbert33
12th of October 2006 (Thu), 19:23
Thanks Pekka for the advice.

You just stopped me from shotting myself in the foot!

Bill