Blog with custom image instead of social plugin #6956
Unanswered
holgerflick
asked this question in
Q&A
Replies: 1 comment 1 reply
-
IIUC, I'm pretty sure this can be resolved via #5567, more specifically #5567 (comment): ---
social:
cards_layout: default/only/image
cards_layout_options:
background_image: <url>
---
# Page title This can be combined with the meta plugin, to set this for every blog post (or a subset in a specific directory). Note that the upside of using a background image is that the social plugin will scale it to fit, so it will always be correctly sized for social media. If you don't want this behavior, you can check the other comments in the issue, as the OP posted a hook that allows to use a custom image. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to use a custom image instead of using the social plugin?
Somithing like
Icon:
just withImage:
for a blog post?Would also need the dimensions of the image to be provided. I would love an alternative. If this is already possible, please kindly point me to the docs. I went over the blog plugin today and could not find anything. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions