Jump to content

Product image not showing on Facebook


Recommended Posts

Hi,

 

I have installed a new theme from Template Monster on my 1.6.1.1 store and since then, when I try to share a product by adding its URL to Facebook, the image is not showing.

 

In fact, before the new theme installation, Facebook was fetching the correct image and now itțs not.

 

I have discovered the Facebook is fetching the image contained in the "og:image" tag of the product source file.

Normally, this image is named something like "www.sitename.com/imagecode-large_default/URLrewritten" and this is the immage Facebook is fetching correctly.

 

But since I installed the new theme, this new theme has it's own defined image sizes and large_default is replaced by tm_large_default. Since it has it's own images, I deleted the Prestashop defaul sizes (for space and inodes reasons) and the image large_default is not active anymore, so Facebook can't find it.

 

The question is: what should I modify in order to have Prestashop generating the  "og:image" tag like "tm_large_default" instead of just "large_default"? This way Facebook will now what to fetch.

 

Thanks!

Link to comment
Share on other sites

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...