Notifications
Clear all

How to enable TWG masonry style?

2 Posts
2 Users
0 Reactions
822 Views
Posts: 1
 ami6
Topic starter
(@ami6)
New Member
Joined: 4 years ago

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
TinyWebGallery
Posts: 924
Admin
(@admin)
Prominent Member
Joined: 16 years ago

$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

Reply