yappa-ng Extended Setup Information
Permit "Initialize Album"
Let all album-admins use the "Initialize Album" admin feature?
The initialization of an album creates ALL cached images of one resize size (e.g. 50x50 OR 1600x1600) at once.
The Album Admin will get an Album-Admin Menu Item where he can select one defined resize size and click submit.
All images of the current album will get cached in the selected resize-size. This procedure will take a while.
After finishing the Admin may select another / the next resize size and restart the procedure.
- You will not see this Admin-Menu Item if:
- Cache is disabled
- This Permit "Initialize Album" is disabled
- You have only the option to select the thumbnails and the Mini-Previews if:
- The "Restrict Cache" Parameter is enabled
- You will see this Admin-Menu Item but the "submit" will result in no action if:
- The "Demo Gallery" Parameter is enabled
If you do not initialize the images the images get created and sent to cache the first time a user views a
certain image. With thumbnails and Mini Previes the first user who views these thumbnails has to wait a little longer
or will maybe get a timeout because the cached images get converted on the fly. The next user (and all after this) will have the same
situation as after the initialization with the admin-menu-item: the images are already cached!
If you do not initialize a certain resize size and this image gets never viewed in this special resize size you will save diskspace
because the cached image will never get created! :-)
If you enable or disable this Option depends on your hardware and your disk-space.
Hardware: If there are some hundreds of images in this album, and you initialize the 1600x1600 resize size your server
will get VERY busy for the next view seconds/minutes.
Disk-space: I do not think creating all 1600x1600 images in advance is a very good idea.
>From my experience the users seldom (or never) view ALL images in the max resolution (bandwith problem).
Creating all images in all sizes will only cost USELESS diskspace.
On the other hand: Creating the 50x50, thumbnails and default resize-size in advance is a very good idea!
Decide for yourself and/or educate your users (with admin access)! ;-)
Or / And test it with your hardware - maybe it isn't that bad. (on my server (Pentium 1.6 GHz, 1 GB RAM, Linux SuSE 8.0) its not that bad! - I leave it to "yes").
--> Recommended setting for yappa-ng is: decide on your hardware / available harddiskspace
Part of yappa-ng Documentation by Fritz 'wizard' Berger: >> yappa-ng Homepage <<