Sorry to post this as an issue, but I just installed, and the module seems to work OK, but all I have access to is Title, Summary, Location tags and contact tags.
The documentation says "This module makes it easy to select the image thumbnail used to represent the node (used by Facebook when constructing a preview). The editor is shown a list of thumbnails of all images associated with the node (both as fields as well as images embedded within the node's body content)." but I can't figure out how to make this work. I have thumbnails attached to my nodes, as well as image URL's in the body. Permissions are correct, and the module is enabled for my specific content type, but nothing's showing up that lets me edit og:image or anything else beyond what I've listed.
Additionally, is it possible to use other og tags like og:video?
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | images.patch | 676 bytes | rares |
Comments
Comment #1
hiddentao commentedI'm really not sure why this isn't working for you.
Are you using the built-in Body field for your content type? That's the field it searches for image tags from which to extract image URLs.
Comment #2
hiddentao commentedComment #3
nattsI also have this problem - where I'm not given a choice, when editing the node, to select an image to use for og:image, when there is definitely an image node (with a thumbnail etc.) attached to the node.
I can edit Title, Summary, Type, Contact details and Location details, but not choose an image. Ideally I would like the default to be to use the single image that is attached (assuming there is just one), or if more than one then the first/top image that is attached, without having to select this for each node (that has one image or more attached).
When I say attached, I mean using Image Attach from http://drupal.org/project/image
Example:
http://developers.facebook.com/tools/lint/?url=http://www.facebookgarage...
http://www.facebookgarage.org.uk/person/dave-nattriss
The photo (of me) on the page is not picked up by this module (and thus not referenced in the og:image), despite being attached to the node.
Comment #4
nattsD'oh, forgot to update the status.
Comment #5
merviemilia commentedYes, Image Attach support would be great. Now the module ignores attached images all together.
Comment #6
rares commentedI am having the same issue where attachments are not being picked up by the module. I made a change to the code that fixed the issue for me. I think that the line
$this->_extract_image_fields_from_node((array)$node, $ret);could be removed altogether, including the recursive logic in that _extract_image_fields_from_node function.Comment #7
merviemilia commentedThat patch doesn't seem to work for this issue.
I'm checking are we talking about the same issue here: This problem is about the Image Attach, not file attachments. The module doesn't pick up the images that have been attached to the nodes with Image Attach.
Edit, for being clear: I tested this patch with the Image Attach issue and it doesn't fix it.
Comment #8
rares commentedThe OP mentioned noting of Image attach, @natts added in his comment. I can open a separate issue for attachments, but I would ideally like to get feedback from the maintainer on this patch in this thread, since it is in line with what the original post described.
Comment #9
ywarnier commentedHi there, I had the same problem. Applied the patch in #6, flushed cache, and it worked. I then *removed* patch in #6, flushed cache and... it continued working! Not sure what that was, but before that I had been flushing the cache *a lot* (we're in the middle of our development phase) and the image field never appeared in the OpenGraph section.
Comment #10
Jorrit commentedI also have the problem that the image is not taken from the node when there is a default image. Because of the way the module loads the data, the image URL taken from the node is overwritten by the default instead of the other way around. A work-around is to not have a default image.
Comment #11
hiddentao commentedAm looking into this.
Comment #12
Jorrit commentedPlease see #1341900: Fallback image is used instead of node image when no row present in opengraph_meta
Comment #13
hiddentao commentedIs this still an issue in the latest release?
Comment #14
Jorrit commentedIf #1341900: Fallback image is used instead of node image when no row present in opengraph_meta is fixed, this one is fixed for me as well.
Comment #15
hiddentao commented