eleniharlan / elenijr.net

Code for Tzunior's food blog
1 stars 0 forks source link

Thumbnail images for home page #19

Closed egardner closed 10 years ago

egardner commented 10 years ago

@kostajh it occurs to me that we're going to need a way to generate/upload thumbnail images for recipe posts (and blog posts too if they have them) so the thumbnails can appear on the home page grid of recent posts.

Right now I'm just pulling the splash image, but those are all quite large. Having to upload an additional thumbnail version of the main image every time a post is published is a hassle, so it would be best if there is some way to automate this. A script that just created small thumbnails based on the splash image for any post that had them would be ideal.

In the past I tried to get adaptive images working on my own site in the past but it didn't want to interact with Jekyll... perhaps I was missing something really obvious.

egardner commented 10 years ago

This also looks interesting: http://scottjehl.github.io/picturefill/ A Jekyll plug-in for serving responsive images. Unfortunately both solutions are going to be incompatible with hosting via gh-pages, now that I think about it. There may be no good way to automate this without self-hosting.

kostajh commented 10 years ago

We're not doing this for now, so closing.