Ok, I implemented a workaround that gets this fixed for me, just in case someone else finds it useful: just add the following code at line 87 in plugins/content/phocaopengraph/phocaopengraph.php
This way, if the image URL contains a hash character, it and everything after it will be removed from the url that will be used in the og:image parameter.
Would be nice if this could be added as an option in the plugin settings :).
Cheers!
Code:
if (strpos($linkImg, '#') !== false){ $hashpos = strpos($linkImg, '#'); $linkImg = substr($linkImg, 0, $hashpos); }
Would be nice if this could be added as an option in the plugin settings :).
Cheers!
Statistics: Posted by isidrobaq — 09 Aug 2024, 12:34