Best way to display large amount of images in a post


I’m building a photography blog. I’m looking for a way to display a large amount of images one after the other inside each post. Due to there being a lot of images, I’d rather not type the path to each image over and over and would rather just specifiy a folder relating to that post, so that when i make a post, I can simple drop in a new folder with the related images.
Is this possible?


Not out of the box, but you can use Liquid to do some heavy lifting. I wrote a blog post explaining how you can leverage site.static_files to loop through and pull out images in specific folders.

There’s probably performance considerations to note with this method as big loops in Jekyll can really add to the build time. A plugin is probably the better solution.