{"action":"opened","issue":{"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/54","labels_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/54/comments","events_url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/issues/54/events","html_url":"https://github.com/Yoast/wpseo-woocommerce/issues/54","id":57784269,"number":54,"title":"Featured/Facebook image is not used for primary image when there are items in product gallery","user":{"login":"CarolineGeven","id":8614579,"avatar_url":"https://avatars.githubusercontent.com/u/8614579?v=3","gravatar_id":"","url":"https://api.github.com/users/CarolineGeven","html_url":"https://github.com/CarolineGeven","followers_url":"https://api.github.com/users/CarolineGeven/followers","following_url":"https://api.github.com/users/CarolineGeven/following{/other_user}","gists_url":"https://api.github.com/users/CarolineGeven/gists{/gist_id}","starred_url":"https://api.github.com/users/CarolineGeven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarolineGeven/subscriptions","organizations_url":"https://api.github.com/users/CarolineGeven/orgs","repos_url":"https://api.github.com/users/CarolineGeven/repos","events_url":"https://api.github.com/users/CarolineGeven/events{/privacy}","received_events_url":"https://api.github.com/users/CarolineGeven/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Yoast/wpseo-woocommerce/labels/support","name":"support","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T09:57:24Z","updated_at":"2015-02-16T09:57:24Z","closed_at":null,"body":"When there is a Facebook Image set under social tab and/or a featured image is set and there are product gallery images set, the product gallery images are put in the open graph first. When sharing a product to Facebook, the Facebook Image or Featured Image is not put first.\r\n\r\nSet Facebook Image\r\n![schermafbeelding_2015-02-16_om_10_49_24](https://cloud.githubusercontent.com/assets/8614579/6209774/99ea9990-b5c9-11e4-9537-17f9af67a929.png)\r\n\r\nAdd Product Gallery images\r\n![schermafbeelding_2015-02-16_om_10_49_33](https://cloud.githubusercontent.com/assets/8614579/6209793/d04c4dee-b5c9-11e4-83f2-8a71e289a45c.png)\r\n\r\nSource: Product Gallery images are output first instead of Facebook Image\r\n![schermafbeelding_2015-02-16_om_10_49_54](https://cloud.githubusercontent.com/assets/8614579/6209819/0108fdc4-b5ca-11e4-9fe1-5401051fcca0.png)\r\n\r\nWhen sharing the product on Facebook, the Product Gallery Image is put first, instead of Facebook Image\r\n![schermafbeelding_2015-02-16_om_10_50_07](https://cloud.githubusercontent.com/assets/8614579/6209847/2bb84250-b5ca-11e4-9fcf-c054cc39edca.png)\r\n\r\n\r\n\r\n\r\nThere are two solutions to fix this bug:\r\n1. Add the product gallery images after the Facebook Image or Featured Image, so when the URL is placed on Facebook, the user can select a different image. The default image will be the Facebook Image or Featured Image.\r\n2. Do not add the product gallery images when there is a Facebook Image or Featured Image.\r\n\r\n"}}