My site is running on a URL - www.abc.com/xyz, i.e. my index.php file resides in xyz folder.
When I try to add the meta tags, og:image causes some URL issues.

It shows the URL as http://www.abc.com/xyz/xyz/sites/default/files/image.jpg.
"xyz" is repeated, as the actual URL should be http://www.abc.com/xyz/sites/default/files/image.jpg.
I checked on the code and found an issue with function "render_data" in file "opengraph_meta.common.inc"
For image, url() function has been used, and this is what might be causing the issue.
As for every link drupal already uses url() function, we ideally should not pass this from url function again, which is actually adding another layer of same data over again.

It is working fine where a site is hosted at domain like www.abc.com, and not when it is hosted on a subfolder like in my case.
Please check on this.

Comments

torotil’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Hi,

I'm the new maintainer of opengraph_meta. Sorry for the long silence in the issue queue.

Sadly I don't have the resources to care for the Drupal 6 version. Unless and until someone steps up to maintain it I'm therefore closing all D6 issues as WONTFIX.

Feel free to re-open the issue if it is still valid in one of the Drupal 7 branches.

Thanks!

vaibhavjain’s picture

Thats fine, it was an way old issue. We probably must have hacked or patched it.