Keyword

K2 + Facebook : Incorrect Image URL

  • Alex Taylor
  • Alex Taylor's Avatar Topic Author
  • Offline
  • New Member
More
13 years 2 months ago #98220 by Alex Taylor
K2 + Facebook : Incorrect Image URL was created by Alex Taylor
Hi Guys, 

 

I'm having issues when I link any K2 article to Facebook!  It simply does not show thumbnails at all! It shows the title and description... but no image! 

 

I've been searching for a while now and finally found where the problem is.... it's to do with where K2 places the image file.

 

When I "lint" the webpage ( via:http://developers.facebook.com/tools/lint/ ) it shows me that the url is adding the first part of my address! 

So facebook thinks images are here:   hostsphere.co.uk/http://hostsphere.co.uk/media/k2/items/cache/fc1da7257992fc36032e11db3df7a664_M.jpg

instead of being here: 

hostsphere.co.uk/media/k2/items/cache/fc1da7257992fc36032e11db3df7a664_M.jpg

 

Does anyone have any idea on how to fix this issue??  I'm at my wits end! 

 

Just to clarify the image shows perfectly on the site... it's purely when I try to share the link on facebook!

Other NON-K2 pages work correctly when I link them on facebook... so I know it's a K2 issue! 

 

Please please help :) 

 

Alex

Please Log in or Create an account to join the conversation.

  • Alex Taylor
  • Alex Taylor's Avatar Topic Author
  • Offline
  • New Member
More
13 years 2 months ago #98221 by Alex Taylor
Replied by Alex Taylor on topic K2 + Facebook : Incorrect Image URL
Just to add... here is the link to the Lint report: 

 

developers.facebook.com/tools/lint/?url=http%3A%2F%2Fhostsphere.co.uk%2Fnews%2Fitem%2F15-new-one-click-installers-6-of-them

 

So you can see what I mean :) 

Please Log in or Create an account to join the conversation.

  • Alex Taylor
  • Alex Taylor's Avatar Topic Author
  • Offline
  • New Member
More
13 years 2 months ago #98222 by Alex Taylor
Replied by Alex Taylor on topic K2 + Facebook : Incorrect Image URL
A little bump.... as it's almost been a month with no answer.... and this thread may have got lost with tons of others.

 

I really hope someone can help :) 

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #98223 by marioglez
Replied by marioglez on topic K2 + Facebook : Incorrect Image URL
Alex, i know if you place the following meta tag in your template_folder/index.php file it will pull that image for sure:

 
<meta property="og:image" content="<your image link>"/>
However, it would be ideal for k2 to pull the lead image file from the images tab on the editor.
Excellent question though.
If you wish to clear whatever facebook cached about your particular url that was shared, you can rebuild/redo by going here:
http://developers.facebook.com/tools/lint
 

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum