grav-plugin-resize-images
grav-plugin-resize-images copied to clipboard
How to get the biggest image?
Using the plugin, all images uploaded on a page have multiple versions name.jpg, [email protected], [email protected]...
.
Is there a simple way to display the biggest one with TWIG? The problem being that the number of versions depends on the original image size.
I tried this without success:
{{ image.sizes('100vw').url }}
Trying the get an absolute size also does not work:
{{ image.derivatives(2000).url }}