Title: External Image
Last modified: September 1, 2016

---

# External Image

 *  [JOHN2000](https://wordpress.org/support/users/john2000/)
 * (@john2000)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/external-image-1/)
 * Hello i use External Images for Posts
 * and have this error
 * `[Error] [IG] - Could not get image ( ), will post without it - WP_Error Object([
   errors] => Array ( [http_request_failed] => Array ( [0] => A valid URL was not
   provided. ) ) [error_data] => Array ( ) )`
 * [https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)

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

 *  Thread Starter [JOHN2000](https://wordpress.org/support/users/john2000/)
 * (@john2000)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/external-image-1/#post-7519324)
 * I use this code for add image
 *     ```
       <?php if ( has_post_thumbnail() ) {
       the_post_thumbnail();
       } else { ?>
       <img src="http://www.image.com/image.png"
       alt="<?php the_title(); ?>" />
       <?php } ?>
       ```
   
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/external-image-1/#post-7519356)
 * Here [http://www.nextscripts.com/snap-features/how-snap-sets-images/](http://www.nextscripts.com/snap-features/how-snap-sets-images/)
 *  Thread Starter [JOHN2000](https://wordpress.org/support/users/john2000/)
 * (@john2000)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/external-image-1/#post-7519360)
 * This Article dont help me!
 * Before i use External Images works fine!
 * If i uncheck Image Auto show not Images!
 * I Am Permium client
 *  Thread Starter [JOHN2000](https://wordpress.org/support/users/john2000/)
 * (@john2000)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/external-image-1/#post-7519370)
 * I Use Advanced Custom Fields Plugin to add an ID
 * and use this code in my loop-blog.php
 *     ```
       <?php if ( has_post_thumbnail() ) {
       the_post_thumbnail();
       } else { ?>
       <img src="http://www.image.com/<?php the_field('img_id'); ?>.png"
       alt="<?php the_title(); ?>" />
       <?php } ?>
       ```
   
 * in post have no Featured Image!
 * Gives a way to work with SNAP?

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

The topic ‘External Image’ is closed to new replies.

 * ![](https://ps.w.org/social-networks-auto-poster-facebook-twitter-g/assets/icon-
   256x256.png?rev=1106267)
 * [NextScripts: Social Networks Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/)
 * [Active Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [JOHN2000](https://wordpress.org/support/users/john2000/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/external-image-1/#post-7519370)
 * Status: not resolved