Skip to content

Commit d4d71c4

Browse files
authored
Use image object for creating ogImagePath
1 parent b8a2e8b commit d4d71c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/Private/Partials/Detail/Opengraph.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</f:if>
2121

2222
<f:if condition="{ogImage}">
23-
<f:variable name="ogImagePath" value="{f:uri.image(src:'{ogImage.uid}', treatIdAsReference:1, maxWidth:'1200')}" />
23+
<f:variable name="ogImagePath" value="{f:uri.image(image:'{ogImage}', maxWidth:'1200')}" />
2424
<n:metaTag
2525
property="og:image"
2626
content="{ogImagePath}"

0 commit comments

Comments
 (0)