Open Graph images not behaving properly
Unanswered
Scottish Fold posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Scottish FoldOP
I created e-commerce web app. Here is the link: https://www.montre-shop.com/
I want to add open graph images for categories of watches: men and women and also for super-deals page.
Routes:
https://www.montre-shop.com/products/watches/categories/men
https://www.montre-shop.com/products/watches/categories/women
https://www.montre-shop.com/products/watches/offers/super-deals
I added open graph and twitter image as file in each folder (men, women and super-deals)
Then I try to access them to check if it is working:
https://www.montre-shop.com/products/watches/categories/men/opengraph-image.jpg
https://www.montre-shop.com/products/watches/categories/men/twitter-image.jpg
https://www.montre-shop.com/products/watches/categories/women/opengraph-image.jpg
https://www.montre-shop.com/products/watches/categories/women/twitter-image.jpg
https://www.montre-shop.com/products/watches/offers/super-deals/opengraph-image.png
https://www.montre-shop.com/products/watches/offers/super-deals/twitter-image.png
and all of them are accessible.
When I push that change to live web app and try to share some of those pages image is not loaded. Inside <head> tag image that is put as content is: https://www.montre-shop.com/products/watches/men/opengraph-image.jpg (doesnt contain categories, same for offers) and it fails to load image which is normal.
Can you please help, I dont understand why it is loaded in that strange way
I want to add open graph images for categories of watches: men and women and also for super-deals page.
Routes:
https://www.montre-shop.com/products/watches/categories/men
https://www.montre-shop.com/products/watches/categories/women
https://www.montre-shop.com/products/watches/offers/super-deals
I added open graph and twitter image as file in each folder (men, women and super-deals)
Then I try to access them to check if it is working:
https://www.montre-shop.com/products/watches/categories/men/opengraph-image.jpg
https://www.montre-shop.com/products/watches/categories/men/twitter-image.jpg
https://www.montre-shop.com/products/watches/categories/women/opengraph-image.jpg
https://www.montre-shop.com/products/watches/categories/women/twitter-image.jpg
https://www.montre-shop.com/products/watches/offers/super-deals/opengraph-image.png
https://www.montre-shop.com/products/watches/offers/super-deals/twitter-image.png
and all of them are accessible.
When I push that change to live web app and try to share some of those pages image is not loaded. Inside <head> tag image that is put as content is: https://www.montre-shop.com/products/watches/men/opengraph-image.jpg (doesnt contain categories, same for offers) and it fails to load image which is normal.
Can you please help, I dont understand why it is loaded in that strange way
![Image](https://cdn.discordapp.com/attachments/1204712846974255204/1204712847431569508/image.png?ex=65d5bb45&is=65c34645&hm=20a2e7f5f1c5777ff2c031222ff7ec725c2acee68362538709a400646bb5c27c&)
![Image](https://cdn.discordapp.com/attachments/1204712846974255204/1204712847787954196/image.png?ex=65d5bb45&is=65c34645&hm=e9709f430e88934ae497117bb49ef551e309856bb02941504241c542aff281cd&)
8 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Scottish FoldOP
And when I click on link it is not accessible
Which is expected cause link is wrong
Which is expected cause link is wrong
![Image](https://cdn.discordapp.com/attachments/1204712846974255204/1204714146143145984/image.png?ex=65d5bc7a&is=65c3477a&hm=39fe71445fabaee44f94d7fb91f586dc5e3169948862f01ac93ac1f0b7783fc6&)
![Image](https://cdn.discordapp.com/attachments/1204712846974255204/1204714146596397076/image.png?ex=65d5bc7b&is=65c3477b&hm=4a1b99f7b4712ddc5f74755815eeb68e5705042c1a8149b508f9d7617de0031b&)
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Scottish FoldOP
Also, is there a way to set as open-graph image whihch is from external source (for single product page): http://res.cloudinary.com/montre-cloudinary/image/upload/v1706725262/products/DSC_0560_yhu4jn.jpg
Image is accesible and set as content for og:image meta tag but when I try to share on social media it doesnt show up. For discord It is displayed when share.
Image is accesible and set as content for og:image meta tag but when I try to share on social media it doesnt show up. For discord It is displayed when share.
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Scottish FoldOP
UPDATE: For issue related to categories I found solution so that is solved ✅ Problem was that my url in openGraph object was not correct.
Remaining question/problem:
When set as open-graph image whihch is from external source (for single product page): http://res.cloudinary.com/montre-cloudinary/image/upload/v1706725262/products/DSC_0560_yhu4jn.jpg
Image is accesible and set as content for og:image meta tag but when I try to share on social media it doesnt show up for Whatsapp, Viber, etc. For some it works: e.g. Discord âŒ
Remaining question/problem:
When set as open-graph image whihch is from external source (for single product page): http://res.cloudinary.com/montre-cloudinary/image/upload/v1706725262/products/DSC_0560_yhu4jn.jpg
Image is accesible and set as content for og:image meta tag but when I try to share on social media it doesnt show up for Whatsapp, Viber, etc. For some it works: e.g. Discord âŒ
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
Pyramid ant
Niko, how didi you solve it?
I've put the opengraph-image.png in the route folde, I can see the meta tag generated in the production, but when pasting my URL, the image is not visible...
can you help?
I've put the opengraph-image.png in the route folde, I can see the meta tag generated in the production, but when pasting my URL, the image is not visible...
can you help?
production meta tag generated
![Image](https://cdn.discordapp.com/attachments/1204712846974255204/1217772641201553479/image.png?ex=66053e26&is=65f2c926&hm=5b7e4312204dcc37c399cb5c8e49f7e31036a31797653c9aadcc0d8def95987d&)
![Image](https://cdn.discordapp.com/attachments/1204712846974255204/1217772793777881128/image.png?ex=66053e4b&is=65f2c94b&hm=703f6fbad7eb3dc1e9f5814f6c25bda2267b4d9fd3d62c0b43f0b518d93a31dd&)