So I'm putting the finishing touches on a new theme/layout for my site. One of the things I've done is upgraded to the latest nightly, cleared all caches, etc.
Now I'm re-creating the image cache and one of the things I notice is the precache image function under admin caches the full-size image, then a thumbnail, which is excellent. One problem though.
The thumbnail it's caching isn't the dimension used in the theme. I'm assuming that it's caching thumbnails that are the size used in the admin back-end.
Would it make sense to have this also cache the thumbnail at the size designated in the theme options?
Comments
When I pre-cache images, I get the original, then a smaller thumbnail such as "2010-03-26 22.35.30_95_cw81_ch81_thumb.jpg".
So the thumbnails being generated are all 95x95, instead of 150x150. Does that make a bit more sense?
Perhaps a separate function or switch to enable caching of thumbnails at the size designated via theme options?
In my theme options, my default thumbnail size is 150px, when I goto albums and click the precache images button it still only generates two images. A 95x95 pixel image, and the fullsize image.
To me, it would make sense that the precache images button generates a thumbnail set at the theme's default thumbnail size. Else, if someone wants the thumbnails pre-cached they'll have to navigate every page of their gallery and albums to make sure the thumbs are generated and cached.
Anyway, I will fix it to load the options for the default theme. Tonight's build.
Still, there is no need to precache at all as we have said for many years. Zenphoto will create the image as needed.
On average there's not a need, just a more polished feel for me to have my thumbs already cached and snap in nearly instantly.
Also it's not just the main precache button but the precache for each album as well from the album page.