Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Thumbnails of Images in Github Markdown

Is it possible to render a scaled version of an image (aka. Thumbnail) in my repository in, e.g., the README.md?

I have many (static) high-resolution images which I want to show in the README.md, however, it currently takes very long to fully load the README.md, which I find annoying.

I found a way to scale the image using the HTML-syntax, however, this apparently only changes the appearance of the image, the resolution is still the same, hence, loading the website is not sped up either.

I want the images to span the whole line width, but with lower resolution.

like image 271
pasbi Avatar asked Oct 24 '25 04:10

pasbi


1 Answers

You can add a smaller version of the image with a link to the full resolution one.

[![sample screenshot](https://i.imgur.com/Tkks00R.png)](https://i.imgur.com/Ob4qAwu.png)

like image 140
zemmsoares Avatar answered Oct 25 '25 18:10

zemmsoares



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!