I ve theme source (v1.4.1) and while i ve a featured Image it load as a preview the “avatar” image
see this: Modello # 28: STAR Model per descrivere e dar valore i propri risultati
that shows:
instead of the correct image.
is there some way to fix it?
Thanks
Manolo
Facebook preview image is correct
I mean if it was my site I would think its caching, but you dont mention self hosted, ghost pro, or other host.
1 Like
Also it wont correct ones already done, you would delete it and then readd as the bookmark doesnt change images later if you change the featured image after you added it to a post with the old one.
You are right I am on Pikapods.
I am not sure it’s cache. It seems more a OG: image issue of the theme
It would be unusual for a theme to directly control og:image, since typically ghost_head writes that out with the rest of the metadata, but looking at the source of the page (ctrl-U in the browser) might reveal missing metadata.
The theme doesn’t control what image the bookmark card uses when you make a bookmark.
So it could be a bug in the ghost core, or cached data, or missing metadata, or expected behavior from the bookmark card that we don’t understand. It appears to be taking the first image from the post, which I think is the fallback when the metadata isn’t available?
@Cathy_Sarisky you expressed everything i wanted to say beautifully. It does show the first image instead of the selected image. What kind of metadata should i look for in the theme? maybe it s a bug.
Hit ctrl u on the page you’re linking and see if og:image etc is set :)
there is no og:image, nor any og: - so it’s a theme bug probably. Thanks for the help!
I read your screenshot and looked at your site. I agree, the og:image and other metadata is missing.
So, that should be happening on Source. That suggests either something is buggy in ghost_head, or you’ve edited it to pass an exclude parameter (in which case it might be doing exactly what you’d expect it to.
I’ve got a pikapods site up with Source, started a couple days ago, and my metadata is there. So it’s something weird about your setup, not a general Source/Ghost bug. (Or you’ve found an interesting edge case that causes problems.)
Can you please share the content of default.hbs? (Paste it into the forum message surrounded by three backticks (`) before and after it, so that the forum software doesn’t mess up the layout.
If you haven’t intentionally edited the theme, you might want to update to the latest version - you’ll do that by going to /ghost > settings > theme > change theme and then click the picture for ‘source’, and it should ask if you want to update and overwrite. (That only changes the theme files, not your site content.)
1 Like