You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added an landscape orientated OpenGraph image to a document node.
Expected Behavior
Getting a <meta property="og:image" ...> tag with an image asset that has an aspect ratio of 1.91:1 and a max width of 1.200px and a max height of 627px.
Actual Behavior
The og:image tag gets rendered using always the Neos.Seo:OpenGraph.Square preset. Therefore the output is:
This limits the image width to 1080px. That's because this.image.isOrientationLandscape always returns null/false and therefore the Square preset is getting used.
This is a (multiple allowed):
bug
Version: Neos.Seo 3.1.0
What you did
Added an landscape orientated OpenGraph image to a document node.
Expected Behavior
Getting a
<meta property="og:image" ...>
tag with an image asset that has an aspect ratio of 1.91:1 and a max width of 1.200px and a max height of 627px.Actual Behavior
The
og:image
tag gets rendered using always theNeos.Seo:OpenGraph.Square
preset. Therefore the output is:This limits the image width to 1080px. That's because
this.image.isOrientationLandscape
always returns null/false and therefore theSquare
preset is getting used.Hotfix by @Sebobo
https://neos-project.slack.com/archives/C050C8FEK/p1597517105446300?thread_ts=1597495125.435700&cid=C050C8FEK
The text was updated successfully, but these errors were encountered: