Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please see it for yourself in www.durreslajm.com
Open any article and share it to facebook. When sharing 90% of the time, the sharer doesnt select the main article image. Any ideas?
Comments
Comment #1
massiws CreditAttribution: massiws commentedI have the same problem with sharethis 6.x-1.8; post images are CCK fields.
You can have a look here:
Sometime, it seems the right image can be selected only if it's png type.
Is there a way to pass the right image field to sharethis module?
Thank you.
Comment #2
olak CreditAttribution: olak commentedsame issue here. in a case scenario, with a news item in full node view, where is a view in the sidebar bringing 3 similar news items, the share widget gets all 4 images, and not that of the current node. also it gets them in a very strange order, not alphabetical or pub date.
thw widget works good on nodes that dont have a similar nodes on a sidebar view.
Comment #3
tparc CreditAttribution: tparc commentedIt would be nice to be able to tell module where to pull the image from, such as a specific block or region.
Comment #4
tparc CreditAttribution: tparc commentedSee this:
http://rickmanelius.com/article/tell-facebook-which-image-share
Comment #5
Vincent Rommelaars CreditAttribution: Vincent Rommelaars commentedHi there,
I ran into this issue again, and the link tparc posted is a bit outdated.
I guess Facebook has an updated API.
So for anyone who has the same issue, just add attached code to your template.php file
It adds image width and height values to create preview while sharing.
Maybe better would be to implement this in ShareThis module code...
Comment #6
saeed adabi CreditAttribution: saeed adabi commentedyou must install Metatag:OpenGraph module and fill image input in edit node page(tab Meta tags)
=>
https://support.sharethis.com/hc/en-us/articles/218441477-How-to-Customi...
Comment #7
naveenvalechaFacebook pick the image from metatag og:image if that meta tag is not specificed then it picks random from the page.
As per #6 see how to configure metatags
Comment #8
Aamenis CreditAttribution: Aamenis commentedin after install Metatag module, Install Metatag: Facebook to preview facebook share image on facebook.