Conditional based on image dimensions (width or height)
Is it possible within a template to have a conditional based on the dimensions of an image?
I've tried this to only show a block if an image is wider than 1280px, which didn't work:
<perch:if "image" output="w" match="gt" value="1280">
No luck with this either:
<perch:if "image" format="w" match="gt" value="1280">
(There's a 404 Error when accessing the doc for "Formats" https://docs.grabaperch.com/docs/content/template-tags/format/ from this page https://docs.grabaperch.com/docs/templates/conditionals/if/)
Thanks for any pointers.