• Resolved Ovidiu

    (@ovidiubica)


    Hello, how can I include an image from the posts into the open graph tags?
    %POST_IMAGE% doesn’t seem to work. It shows up in page source just as it is (%POST_IMAGE%).

    For front page I have no problem if I specify the exact path but I want different images in single custom post types.

    This happens with old custom type posts. I didn’t try submitting new ones.

    Thanks for this great plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AHWEBDEV

    (@ahwebdev)

    this plugin is compatible for wordpress 3.1 and no backward compatibility….

    %POST_IMAGE% is using to get post thumb url of a post or if no thumb, to get the post image in post.
    so to get the image you should use the new featured image system on post

    Thread Starter Ovidiu

    (@ovidiubica)

    I’m on 3.2.1 that’s not the problem. Problem could be the custom post type I’m using.

    Plugin Author AHWEBDEV

    (@ahwebdev)

    are you using featured post image ? this plugin add an image size 50×50
    to generate all the thumb from your old post, you should try a plugin to regenerate all thumb for your old post.

    can you try first look in the code html of your post to check if an image is added to your graph tags? if no image so there is a problem…

    if there is an image specified but not showing in facebook so it s a problem of sizing… if image is too large, facebook will not register your image.

    note that if your old post was liked before you install the plugin, you should try clean the cache using the url linter of facebook.

    i am answering with my iphone and i am on holiday, i can’t browse the code now to help you more than that…

    if you have again problems after trying to do what i said i will help you when i ll comeback!

    Thread Starter Ovidiu

    (@ovidiubica)

    Oh, ain’t that urgent. Have a great holiday.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘post image in open graph’ is closed to new replies.