What’s the best way to go about hosting an open graph image in webflow. The images I have on my site are all mostly background images within a section.
What I’d like to do is host an image on my site that is not explicitly shown or searchable, but that I can use as my open graph image.
I’m still understanding open graph tags, but basically what I’m asking is how to go about hosting these images.
You can make an extra page, unlinked for the other pages, that contains the image. They publish, catch the URL of the image and use it for OpenGraph.
You can also draw a div, give it a class (like “opengraphimage”) define the image as background (so you upload it), and check its url once published. As it’s attched to a class, webflow will keep it so you can even delete the div.
Hey @brryant I already have some Open Graph images in my custom code. Should I remove those and rely on this one? I can’t remember if I’d put in the ones specific to different networks or not. Probably haven’t haha. But optimal size is 1200x630 to account for retina screens & such according to their developers site. Any incite for other social media OG images & best practices there?
Hi @zfe, are you referring to deleting an image? If so, that is not yet a feature of the asset manager. There is work going on add delete capability. This will come in an update. If you want to remove images, you can can duplicate your site. Images not used will be removed during duplication.