hugo-shortcode-gallery
hugo-shortcode-gallery copied to clipboard
How to opt out of downscaling of the thumbnail image?
thumbnailResizeOptions uses the Hugo's Fit method which downscales the thumbnail image. I don't want image to be downscaled or any compromise to the image quality. How can I stop this image resizing thing or at least the downscaling?
On the master branch I have implemented two new options for thumbnailResizeOptions:
- original: Use the original image (without scaling or other modifications).
- full: Use the same image as the lightbox will show when clicked. Scaling may be applied depending on whether
imageResizeOptionsis used.
It would be nice if you could give me some feedback on whether or not this is working for you.
Hey @mfg92 , it is working as expected. Thanks for the enhancement.