Your sites Log in Sign up Menu

Thumbnails on index pages?

Is there a way to display the thumbnails on ~/page/1? I'm using a variation of of the Blog template, but I want my homepage to not be the list of blogposts, so instead I have a link to on the top bar. So it'd be cool if it displayed thumbnails there.

9 days ago, 3 replies   developers   thumbnails   Improve this question

You'll need to edit your template's entries.html file to include the thumbnail. Add something like this inside the {{#entries}} ... {{/entries}} block:

<img src="{{{thumbnail.medium.url}}}"/>

Does that help? Please let me know if you have any questions about this or anything else

Answered 2 months ago · Improve this answer

thanks! it works, kind of. This simply adds a picture to below the text. Would it be possible to have the picture to the left of the text?

I would like the effect to be similar to what happens in magazine, but with much smaller icon

Answered 17 days ago · Improve this answer

For sure it is possible, but you'll need to dig into your template's CSS to make these layout choices happen. If you need a nudge in the right direction, I highly recommend using some sort of AI tools to generate this for you – ChatGPT will be able to work this out pretty quickly

Answered 9 days ago · Improve this answer