ZenphotoCMS Forum
zpBootstrap - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: zpBootstrap (/thread-14201.html)



zpBootstrap - tplowe56 - 2026-11-19

I have a logic question about cropping thumbnails in zpBootstrap.

Most of my images are shot in landscape mode. zpBootstrap Displays square thumbnails to view albums. I often will apply some sort of a crop to make sure these landscape images display correctly in the square format seen on the album page.

I have noticed that if I do three different crops on the same image this will create 3 different cropped thumbnails, and Zenphoto appears to always use the most recent one. I was trying to figure out the logic, how does Zenphoto know to use a cropped thumbnail for an image that has one?

The reason I ask is because generating these extra cropped thumbnails on my local server happens in a split second but for some reason on my Godaddy shared server these cropped thumbnails cause severe CPU usage, and I get throttled.

I'm just wondering if I generate all these cropped thumbnails locally and then upload them, will they be loaded for my images. That's why I asked about the logic I don't see anything in the database that designates that an image thumbnail has a custom crop.