Closed (fixed)
Project:
Open Graph meta tags
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2011 at 11:01 UTC
Updated:
24 Jul 2015 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ptitb commentedSame here!
edit: Found a short term solution.
I changed line 262 in opengraph_meta.common.inc from:
To:
Comment #2
satch5841 commentedGREAT!!!
You saved my day! Thank you!
Comment #3
heyyo commentedI'm looking a way to synchronize my og:image across all the languages enabled of a node. Any suggestions ?
Comment #4
hiddentao commentedIs this still an issue in the latest version?
Comment #5
ehudash commentedYes it is.
The fix in #1 works but is missing something - the node image selector does not show a preview of the images.
To complete the fix in #1, change line 577 in opengraph_meta.common.inc from:
$abs_path = url(ltrim($image['url'],'/'),to:
$abs_path = url($GLOBALS['base_url'] .'/'.$image['url'],I hope this will be committed to the next version of OG.
Comment #6
hachreak commentedSubstitute line #255 in opengraph_meta.common.inc:
With this:
it works with me! :)
Comment #7
bgm commentedHere is a patch to fix the issue (c.f. attached for proper patch):
Near line 262 of opengraph_meta.common.inc of 7.x-1.x:
Comment #8
bgm commentedoops, i just noticed the message on the module description that this module is deprecated in favor of 'metatag' :-)
Comment #9
torotil commentedThis should be fixed in 7.x-1.x and 7.x-2.x … using file_create_url().