Blot

Images in Magazine template entry listings?

How does the magazine template determine when/which image to show in an entry's listing? Many of my posts have images, but only some appear to the right of the listing on the main page, and I can't figure out what factor determines when an image is pulled there.

9 replies

The Magazine template uses the thumbnail for each post. The thumbnail is generated by Blot when it converts a file in your folder into a post on your site.

Blot creates a thumbnail from the first image in the post whose file extension is either ".png", ".jpeg", ".jpg", ".svg", or ".gif", and which has a width larger than 64 pixels wide, and a height larger than 64 pixels (see the source).

If you have some posts containing images which meet these criteria, but you don't see a thumbnail on your site – you have likely run into a bug with our thumbnail generator – would you be willing to send us a link to your site? We'd be happy to look at the specifics

4 years ago Edit

Yes, thank you!

My URL is www.chrbutler.com

  • Chris
4 years ago Edit

You should be able to re-generate your thumbnails on the dashboard – once you do that, do the thumbnails appear as expected?

4 years ago Edit

Trying the Magazine template, I don't see a thumbnail for one post, for another I see a thumbnail that is not square. What dimensions should they be on the main page?

4 years ago Edit

Can you share a link to the post which should have a thumbnail, but does not?

Blot generates different sizes and shapes of thumbnails – it's up to the template to pick which size and shape it wants to use. Does that make sense? Please let me know if you have any questions about this or anything else

4 years ago Edit

This has no thumbnail.

https://kirkville.blot.im/chop-wood-carry-water

But I can't choose the thumbnail size then? I'm trying out the Magazine template, and, if you look at the top post here, the thumbnail is huge, and cut off; I'd like to show the full book cover, if possible.

https://kirkville.blot.im

4 years ago Edit

Is there any way to add thumbnails in the Magazine template to graphics that are not in posts? I produce several podcasts, and I post with iframe players. I'd like to have the podcast artwork as a thumbnail, but I don't want to put them in the posts. And, if this is possible, I need to know what size, because when I tried, they all got cut off.

4 years ago Edit

For sure! You can set thumbnail metadata:

Thumbnail: /path/Or-URL/to/image.jpg

The thumbnail set does not need to be in the post.

As for the post without a thumbnail – it has no image as far as I can tell! The path is broken – This has no thumbnail /Posts/_The-Long-Dark.jpeg does not exist in your folder

4 years ago Edit

It is there. I tried moving it to a Graphics folder (I'm still trying to understand folder structure) but I moved it back. It displays in the post, but not as a thumbnail.

If I set my own thumbnail with Thumbnail: metadata, what size do I use? I've tried a couple of sizes, and the thumbnail gets upscaled and cropped. I want to use square graphics for my podcasts; how can I get this to work?

4 years ago Edit

Your reply