Hi everyone,
I’ve been tinkering with Hugo for a travel/adventure blog.
I wanted an easy way to embed images from Flickr. The workflow I envisioned was
- Use some photo app to upload images to flickr. One album per post.
- Use the figure shortcode from the twentyfourteen theme to embed images.
- Use the flickr api to generate the shortcode for every image in the album
- Put the shortcodes wherever I want to in the post.
I wrote a quick and dirty tool + shortcode to retrieve all the images in an album and print out the shortcode with the title and caption filled in.
I figured it might be useful to others.