PDA

View Full Version : Adding a second thumbs path


devenh
10th of August 2004 (Tue), 11:53
I see that you can use the Path Editor to add additional thumbs and microthumbs paths, but once you add a second path, how does EE know to upload to that new path?

Here's my problem: I currently have over 10,000 images on EE and having all the thumbs in one directory, microthumbs in another, and images in a third is getting a bit unwieldy.

I'd rather have all my soccer pictures in one set of directories (a directory for thumbs, microthumbs, and images), baseball in another set of directories, and so on.

Any advice would be appreciated?

Deven

Pekka
10th of August 2004 (Tue), 12:07
Thumb and microthumb paths are per exhibition. So if you have those 10000 photos in one exhibition you can use only one path for thumbs and one for microthumbs. But when you have several exhibitions each one of those can use a different thumb and different microthumb path.

Thumb paths are set in exhibition editor.

Create new thumb and microthumb paths in path setup editor, and in exhibition editor change the paths. You can use either rethumbnailer (make sure ftp and resizing works) to build the thumbs to new paths or copy them manually with ftp.

Use info in http://photography-on-the.net/forum/showthread.php?t=39665 for how to move big photos (size paths) in EE. Each photo size in EE can be in any defined size path on the net so load distribution is very possible.

I coded thumb paths "per exhibition" for simplicity, more speed and technical limitations of PHP. It could be of course possible that each photo would have a separately selected thumb path but this would mean complexity in editor code and also much more confusing thumb system - also, when thumbs are in EE's program server they can be listed very fast by PHP (it can't list remote folders without ftp).

devenh
10th of August 2004 (Tue), 13:00
Thanks!

Didn't mean to imply that the thumbs/microthumbs should be per photo. I expected it to be per exhibition, but never noticed the option in the exhibition editor until you pointed it out.

But does this create a problem if you create another exhibition that contains photos with thumbnails in two different directories?

Deven