- Posts: 51
- Thank you received: 0
facebook share product page picks wrong image
12 years 1 month ago #166679
by loling
facebook share product page picks wrong image was created by loling
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : chrome
Just wondering:
website's facebook share for product page grabs wrong image. I've activated:
- hikashop microdata plugin
- hikashop social plugin
- og:image has shown meta tag of every product page correctly
facebook share always grabs website's logo image instead of product image. I've tried open graph debug tools. It said: Provided og:image could not be downloaded or is not big enough. Please use an image that's at least 200x200px and is accessible from Facebook. Image ' www.kliknshop.com/media/com_hikashop/upl...%20paris%20amour.jpg ' will be used instead.
But og:image points to 400ish x 400ish pixel image file. So it doesn't make any sense to me.
However, facebook share is working fine in joomla article page. Weird!!
Any idea??
Thanks
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.3
-- Browser(s) name and version -- : chrome
Just wondering:
website's facebook share for product page grabs wrong image. I've activated:
- hikashop microdata plugin
- hikashop social plugin
- og:image has shown meta tag of every product page correctly
facebook share always grabs website's logo image instead of product image. I've tried open graph debug tools. It said: Provided og:image could not be downloaded or is not big enough. Please use an image that's at least 200x200px and is accessible from Facebook. Image ' www.kliknshop.com/media/com_hikashop/upl...%20paris%20amour.jpg ' will be used instead.
But og:image points to 400ish x 400ish pixel image file. So it doesn't make any sense to me.
However, facebook share is working fine in joomla article page. Weird!!
Any idea??
Thanks
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166694
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic facebook share product page picks wrong image
Hi,
"og:image" code in the webpage looks correct, but your image name contains a lot of space, with double spaces too. It is not really compliant with HTML standards.
Please try with a product which have a image filename without spaces or special characters.
Regards,
Code:
<meta property="og:image" content="http://kliknshop.com/media/com_hikashop/upload/bath body works fragrance mist travel - be enchanted_1182791253.jpg" />
Please try with a product which have a image filename without spaces or special characters.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166765
by loling
Replied by loling on topic facebook share product page picks wrong image
i tried product page with zero space image name, and it WORKS!
ok, now is the pain part. Is this plan will work?
hmm Am I missing something??
ok, now is the pain part. Is this plan will work?
- download all images in upload folder
- rename all images with zero space locally
- upload all renamed images to upload folder
- delete all thumbnail folder
- run sql query on hikashop_file table to rename entries in file_name and file_path column
hmm Am I missing something??
Please Log in or Create an account to join the conversation.
12 years 1 month ago #166778
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic facebook share product page picks wrong image
Hi,
Yes, the plan is good.
You can also try to rename the files directly in the server ; using a custom PHP script or a shell interface.
Regards,
Yes, the plan is good.
You can also try to rename the files directly in the server ; using a custom PHP script or a shell interface.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
11 years 9 months ago #183051
by hahovec
Replied by hahovec on topic facebook share product page picks wrong image
Thangs
Please Log in or Create an account to join the conversation.
Time to create page: 0.159 seconds