|Stretching images with an aspect ratio greater than 2:1
|GitHub - Lhcfl/discourse-larger-long-image
|How to install a theme or theme component
|New to Discourse Themes?
|Beginner’s guide to using Discourse Themes
Install this theme component
Discourse often scales images to a suitable size and puts them into beautiful lightboxes. But this becomes a side effect on the sometimes long images that can appear. The long image is stretched into a slim 41x500 px² strip.
This theme component will apply stretching to images with an aspect ratio greater than 2:1 so that they fill the width of the post.