Notifications
Clear all
Advanced iframe free
2
Posts
2
Users
0
Reactions
822
Views
Jun 02, 2021 9:13 am
Hello, seems like I have overlooked it or did not find it: how can I enable masonry style visualization of images in TWG? Thx for pointers.
1 Reply
Jun 03, 2021 9:10 am
$responsive_enable_masonry = true; // New 2.4.4 (true/false) Setting this to true enables the masonry lib where images are dynamically sorted to fit best on the page. This is a layout used by many sites already. To make this look good you should have a lot of vertical and horizontal images. Also set: $responsive_thumb_page = true; $show_clipped_images=false; $use_thumb_pic_size_as_width = true; and increase the $thumb_pic_size to e.g. 250 or 300. Clear the cache afterwards. A working example is here: http://www.tinywebgallery.com/demo/twg_album/01_Administration~01_masonry