Is it possible to get the Masonry gallery to auto load, instead of loading on scrolling?
I love it, but on one specific page I want it to auto-load everything.
You can increase the item count to a very high value – open up includes/helper-slideshow.php and replace:
Because of performance reasons I’d keep the value low though.
I have tried the above instructions to also get an auto-load on a specific gallery and have changed the code to function display($itemcount=50) as I want to display more than 10 but not necessarily 100.
But this doesn’t work, it still wants to “loading images” when I touch the sidebar and only shows a certain number of images – ??
The page is:
In addition to this, even though I have turned off auto-rotation you will see that after a few seconds the first couple images which are landscape orientation are almost overwritten by a portrait style image that also happens to be in the gallery.
Any ideas on how to sort. Ideally I want the (eventual) 20-30 images to all show up – whether it has to be by scrolling down to see more or not but if the scrolling option has to be it, can it please work for me as it isn’t.
Thanks in advance,
A plugin (I think it’s the “dm-albums” plugin) causes a js error because it loads the jquery libary a second time. Please deactivate it or make sure that the plugin uses the default wordpress jquery.js file.
Ha! Amazeballs, that worked, thanks Dude!
Wedding photos gallery now sorted so that it loads more on scrolling down now that plugin has been deactivated.
The topic ‘Flexible / Masonry Gallery Auto Load’ is closed to new replies.