Jump to content

Product image not showing on Facebook


Pez

Recommended Posts

Hello. I'm having problems getting product images to show up when my shop is linked on Facebook. Usually when you paste a link onto Facebook they'll find a thumbnail for it. In the past it used to grab the wrong one first (the accessories) but at least I could click through and find the right picture. Ever since switching to the new image system, Facebook can't even find a thumbnail at all.

 

I do a lot of marketing on social networks so this is really important for my shop. Would anyone please help? Thanks.

 

This is my site: http://www.coscraft.co.uk/ and I'm using PS 1.4.5.1.

Link to comment
Share on other sites

Update: after a forced recompile at the Back Office, all the changes I made in attempt to get og:image working for Facebook has been undone, and now at least Facebook will find some pictures, I just have to click through them to find the right one.

 

Has anyone found a way to get the og:image meta tag working with the new image system yet?

Link to comment
Share on other sites

<meta property="og:type" content="product" />

<link rel="image_src" href="{$link->getImageLink($product->link_rewrite, $id_image, 'large')}" />

 

Hi. I just tried this but it didn't work, the link it created was just img/p/-large.jpg. Could it be because I'm using the new image system?

Link to comment
Share on other sites

  • 2 weeks later...

 

Hi. I just tried this but it didn't work, the link it created was just img/p/-large.jpg. Could it be because I'm using the new image system?

 

I'm using new system, upgrade from 1.3.7 to 1.4.3 and now 1.4.5

Move old image to the new hierarchy of 1.4, check NO to "Legacy" over BO

This piece of code just work well for me:

<meta property="og:type" content="product" />
<link rel="image_src" href="{$link->getImageLink($product->link_rewrite, $id_image, 'large')}" />

edit on fbopengraph.tpl

 

at first i encounter the problem for main site URL only, since it's show the wrong image, but found that the cause is because i used different file format for logo, correct some code or just give the very same image the extension it's need to work properly.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...