ZenphotoCMS Forum
zpBootstrap - capability to crop album thumbnails? - 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 - capability to crop album thumbnails? (/thread-13457.html)



zpBootstrap - capability to crop album thumbnails? - tplowe56 - 12-09-2020

zpBootstrap offers the capability to crop thumbnails of images which comes in handy as I often shoot 16x9 and the thumbs are square. I would suggest this capability be added to album thumbnails also, if any new iteration is produced.

I'm not sure. Maybe this is a limitation of ZP rather than the theme?

www.loweprofile.com/gallery




zpBootstrap - capability to crop album thumbnails? - acrylian - 13-09-2020

If and how thumbnails are cropped is actually a theme decision. Default (standard) thumbs (like basic theme uses them for exampe) follow the csetting on the image options. Themes can choose to not use these for layout requirements (like the Zenpage theme for example) and use some of the various image template functions directly instead.




zpBootstrap - capability to crop album thumbnails? - vincent3569 - 15-09-2020

hi
indeed, album thumbs are cropped with 1/2 ratio and pictures thumbs are square.
this for 2 reasons:

  • to visualy separate album thumbs and picture thumbs
  • to follow boostrap main rules to have responsive behavior with pictures.



zpBootstrap - capability to crop album thumbnails? - tplowe56 - 20-10-2020

Thanks Vincent,
I am not interested in changing the image proportions, just the crop of the album thumbnail. A situation could arise where your image is shot in portrait mode, so it would be very important to control how that image is cropped for the album thumbnail. Just wondering if that feature would ever be added to the theme. I have used the cropping feature many times for image thumbs, as it can greatly enhance how image thumbnail page looks.

Bootstrap thumbnail cropping

Bootstrap thumbnail cropping




zpBootstrap - capability to crop album thumbnails? - acrylian - 21-10-2020

You could certainly modify the theme to replace the custom cropped album thumb functions with the default album thumb ones. Then you would get the same size/crop as for the general thumbs. See the basic theme which that are for example.

Since the theme is not made for that it may require more changes so this actually works out.