• Resolved mikhael92

    (@mikhael92)


    Hi,
    I’ve an issue with this plugin. In our articles we insert images with simply code like this:

    <a href="LINK"><img class="aligncenter size-medium wp-image-513901" src="LINK" alt="" width="460" height="259" /></a>

    But inside feed generated with this plugin and inside the article that are uploaded on facebook, they disappears.

    Could you help me?
    Thanks

    • This topic was modified 7 years, 5 months ago by mikhael92.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mikhael92

    (@mikhael92)

    <a href="LINK"><img class="aligncenter size-medium wp-image-513901" src="LINK" alt="" width="460" height="259" /></a>

    Example of code

    Thread Starter mikhael92

    (@mikhael92)

    Ok, the problem is this function “images_exist” inside class-facebook-content-parser.php
    Probably because I use a CDN for the images. So I’ve commented this filter:

    `//add_filter( ‘wpna_facebook_article_content_transform’, array( $this, ‘images_exist’ ), 10, 1 );

    Plugin Author OzTheGreat

    (@ozthegreat)

    Hi @mikhael92,

    Ah yeah. Could you possibly send me a link to one of your images? I’d like to see if I can work out what the issue is so we can fix it for the next release if possible?

    Thanks

    Thread Starter mikhael92

    (@mikhael92)

    Plugin Author OzTheGreat

    (@ozthegreat)

    Hi @mikhael92,

    Thanks very much for that. I’ve done some testing and found the problem. We ping each image to a. make sure it exists b. is larger than 1024 bytes. We do this by checking the ‘content-length’ param that’s usually set in the header of the response (this save us having to download every image). Unfortunately it doesn’t seem to be set for your server so it thinks the images doesn’t exist.

    We’ll fix this in the next release so it only check the length if it is set which should solve it for you.

    Hope that helps!

    Thread Starter mikhael92

    (@mikhael92)

    Thanks, super support!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Images inside articles disappears’ is closed to new replies.