Dec 8, 2022 3:46 AM
Hi everyone,
Is it possible to add a 2nd featured image field to a blog post?
My site has a very wide blog image design, it's a big hero image.
This uploads and displays - fine.
But it looks really bad when we share on social media like Facebook because the image ratio is not good for that.
Is there a way to have a two upload fields? So I can have 1 wide hero and 1 optimised for social media and our blog listings pages?
Or do I need to redesign my site and reupload images so that they display at a more social media friendly ratio?
Thank you!
Solved! Go to Solution.
Dec 8, 2022 4:47 AM
I have accomplished this before by adding an image tag to the blog post template and give it a label "Hero Image" - https://developers.hubspot.com/docs/cms/hubl/tags#image-src
If you need more fields, you could also create a HubSpot module and add it to the template.
When complete, you would then use your featured image as your "social image" and hero image for the one displayed on the page.
Dec 8, 2022 4:47 AM
I have accomplished this before by adding an image tag to the blog post template and give it a label "Hero Image" - https://developers.hubspot.com/docs/cms/hubl/tags#image-src
If you need more fields, you could also create a HubSpot module and add it to the template.
When complete, you would then use your featured image as your "social image" and hero image for the one displayed on the page.
Dec 20, 2022 4:36 AM
Thank you for your tip, I tried a solution like you suggested and it worked well - still fairly easy for the end-user.