Images missing or not showing

Images missing or not showing

If your Instant Articles are missing images that show up in your regular articles it's probably for one of the following reasons:

Featured images cannot be repeated in the article body. The plugin intelligently parses the article body and removes the featured image if it is found to be repeated.

Images cannot be duplicated. Images in the article body cannot appear more than once. If an image is found to be repeated the plugin will remove all but the first instance.

Images must exist and be larger than 1024 bytes. The plugin checks that all images are available, don't 404 and are alleger than 1024 bytes, any that aren't are also removed.

However, some server configurations can block this request or it can timeout if the response is slow. To disable it completely add the following code at the end of your theme's functions.php file.

* Remove the check_image_exists parser function.
* @return void
function wpna_custom_remove_check_image_exists() {
  global $wpna;
  remove_filter( 'wpna_facebook_article_content_transform_node_img', array( $wpna->wpna_facebook_content_parser, 'check_image_exists' ), 10 );
add_action( 'wpna_facebook_article_pre_the_content_transform', 'wpna_custom_remove_check_image_exists', 99 );<br>

For more information see the official Facebook blog post on images  here.