0

I have uploaded an image in my content. When I checked view source of the page, it shows the wrong image path for og:image property of meta tag.

After uploading the image in my content, image path displaying for the image is as below..and the image is present in this path

/sites/default/abc_theme/styles/full_img/public/images/2019/02/01/pizza.jpeg

But when I check view source for page I got the image path

/sites/default/abc_theme/styles/fb_image/public/images/2019/02/01/pizza.jpeg

What exactly the problem is here? Both paths are different ... Logically path should be the same.... in view source also

  • 1
    The reason why you get a different URL is because it's rendered using an image style. One place the image is rendered with the full_img image style and the other place the fb_image image style. – Jdrupal Sep 13 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.