So, I could try and develop my own photo gallery, but it should be much less hassle to hijack someone else's and add in text overlay to the photos or gerrymander in a text section next to each photo. The obvious choice is photoswipe.
GitHub pages only hosts static pages. I can't think of anything that will necessitate dynamic pages if Photoswipe will work on a static site (which it seems to do). So, I can just commit all of my node_modules directly, and use browserify and the like if I want. Instead of using liquid templating and jekyll layouts, I'll commit all of my files as JSON directly, or have a script convert the .md files into JSON so that I can include them. Looks like this will do.
To do:
[ ] Create a script that takes images titled 001 rubber duck.png from source folder, moves them to images, creates a _drafts/001-rubber-duck.md file with title, layout, dimensions, image_source.
[ ] Manually go through and add content to drafts. Move draft manually to posts folder.
[ ] Create a script to automatically convert all posts into a single JSON file.
[ ] Browserify all assets, load them into index.html, and import that JSON file, creating a Photoswipe gallery along the way which uses all images mentioned in the JSON object.
So, I could try and develop my own photo gallery, but it should be much less hassle to hijack someone else's and add in text overlay to the photos or gerrymander in a text section next to each photo. The obvious choice is photoswipe.
GitHub pages only hosts static pages. I can't think of anything that will necessitate dynamic pages if Photoswipe will work on a static site (which it seems to do). So, I can just commit all of my node_modules directly, and use browserify and the like if I want. Instead of using liquid templating and jekyll layouts, I'll commit all of my files as JSON directly, or have a script convert the .md files into JSON so that I can include them. Looks like this will do.
To do:
001 rubber duck.png
from source folder, moves them toimages
, creates a_drafts/001-rubber-duck.md
file withtitle
,layout
,dimensions
,image_source
.posts
folder.posts
into a single JSON file.