PDA

View Full Version : Full/Thumb/Micro Image Directories


amonfils
10th of November 2003 (Mon), 14:10
Perhaps this has been covered already and I missed it somewhere.

Directories for full size, alternate size(s), thumbnails and micro-thumbnails are required to be manually created each time a new exhibit is added (yes I know this is optional, and they can all be put into a 'default' directory, this can result in clutter for a large number of exhibits), assuming you want to seperate those entities.

Would it be possible to modify EE to create default path(s) per exhibit for each of these entities? Or possibly even creating an 'exhibit' path, and the resulting automatically generated sized, thumbed, and microed files go below this path (and possibly default-sized images); ala:

mkdir blah/blah/web/ee_images/TriptoLondon
mkdir blah/blah/web/ee_images/TriptoLondon/Original
mkdir blah/blah/web/ee_images/TriptoLondon/1024x768
mkdir blah/blah/web/ee_images/TriptoLondon/800x600
mkdir blah/blah/web/ee_images/TriptoLondon/Thumbs
mkdir blah/blah/web/ee_images/TriptoLondon/Micros

/aaron

Pekka
10th of November 2003 (Mon), 14:35
amonfils wrote:
Perhaps this has been covered already and I missed it somewhere.

Directories for full size, alternate size(s), thumbnails and micro-thumbnails are required to be manually created each time a new exhibit is added (yes I know this is optional, and they can all be put into a 'default' directory, this can result in clutter for a large number of exhibits), assuming you want to seperate those entities.

Would it be possible to modify EE to create default path(s) per exhibit for each of these entities? Or possibly even creating an 'exhibit' path, and the resulting automatically generated sized, thumbed, and microed files go below this path (and possibly default-sized images); ala:

mkdir blah/blah/web/ee_images/TriptoLondon
mkdir blah/blah/web/ee_images/TriptoLondon/Original
mkdir blah/blah/web/ee_images/TriptoLondon/1024x768
mkdir blah/blah/web/ee_images/TriptoLondon/800x600
mkdir blah/blah/web/ee_images/TriptoLondon/Thumbs
mkdir blah/blah/web/ee_images/TriptoLondon/Micros

/aaron

With EE 1.5 directories entered in path editor are created automatically (by ftp) when you hit upload button. So basically it's few "copy paste + edit" operations to add new paths before uploading to new location.

Your suggestion may be useful for some, though, and I'll put that into my list for evaluation.

amonfils
10th of November 2003 (Mon), 14:54
Perhaps a different way to handle it is to create a 'resize group' that's defines the parameters for creating the various re-sized images, thumbnails, and micros. Included in the 'resize group' is the associated image location(s). This group would be used in place of the existing step 3 of the upload process.

A 'resize group' would minimally define the resized, the thumbnail, and the micro images and the associated directory(ies) where each of those images (or all of them) are stored.

Pekka
10th of November 2003 (Mon), 16:01
amonfils wrote:
Perhaps a different way to handle it is to create a 'resize group' that's defines the parameters for creating the various re-sized images, thumbnails, and micros. Included in the 'resize group' is the associated image location(s). This group would be used in place of the existing step 3 of the upload process.

A 'resize group' would minimally define the resized, the thumbnail, and the micro images and the associated directory(ies) where each of those images (or all of them) are stored.



EE already has this system via "Default Photodata Editor" but the automatic path selection for upload page (as suggested autoselection of predefined paths) is not implemented in 1.5 yet.