yusttas/jk_opengraph

Balise og:image double url

Opened this issue · 2 comments

Hi, My og:image is "double url"

meta property="og:image" content="https://www.blabla.comhttps://www.blabla.com/1765/275.jpg"

Can you help me I do not understand why the url is duplicated in the tag for a few days, yet I have not modified anything and no mods or prestashop updates, I tried to reinstall the module but it 's is the same

Thank

Hi,
I´ve checked it and found the problem. Looks like image url fails in product detail when product has attributes with connected images. I will try to look on it as soon as I´ll have some time.

Hi,
I´ve prepared pull requests with repaired urls in product detail, so u can get the changes from pull requests or wait till author check and merges the code.

But double check if u do not have OG tags twice in product detail. New templates(from no idea which PS version) has OG tags by default in product detail page, if so, use "turn off tags" in product tags in module and keep those default from PS here and use moduly only for other pages.