Title: Image Selection
Last modified: November 8, 2016

---

# Image Selection

 *  Resolved [dustycat](https://wordpress.org/support/users/dustycat/)
 * (@dustycat)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/image-selection-2/)
 * Could you confirm the logic used to select an image from a post to use for the‘
   Image Post’ option in Facebook and that are attached to Twitter tweets?
 * I am using custom post types and have two custom fields – main image and additional
   images (which is a repeating field). These two fields are used to create a Flexslider
   of images.
 * The problem I have is that instead of choosing the Main Image, your plugin appears
   to be choosing the first item uploaded into the ‘Additional Images’ field.
 * As I am using a plugin that enables user content submission via front-end forms.
   having a featured image for each post isn’t an option.
 * My suspicion is that when your plugin doesn’t find a featured image, it is looking
   for other images in the post and because ‘Additional Image’ is before ‘Main Image’
   alphabetically, it is reading this field first.
 * Is there something I can do to get your plugin to select my Main Image rather
   than one of the additional images?

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

 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8410623)
 * The answer is here [http://www.nextscripts.com/snap-features/how-snap-sets-images/](http://www.nextscripts.com/snap-features/how-snap-sets-images/)
 *  [portalreggaepaz](https://wordpress.org/support/users/portalreggaepaz/)
 * (@portalreggaepaz)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8421228)
 * PODEM ME AJUDAR POR FAVOR ?
    [https://wordpress.org/support/topic/thumbnail-do-facebook/](https://wordpress.org/support/topic/thumbnail-do-facebook/)
 *  Thread Starter [dustycat](https://wordpress.org/support/users/dustycat/)
 * (@dustycat)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8430278)
 * Thanks, but I’m still not getting the desired result.
 * I have gone into the settings for the plugin and in the section Alternative “
   Featured Image” location, I have specified the field name of my ‘Main Image’ 
   which is wpcf-main-image (this naming convention comes from the Toolset Types
   plugin.
 * I have double-checked in PHPMyAdmin and can see the URLs of my images in my wpue_postmeta
   table with a meta key of wpcf-main-image.
 * Therefore my understanding is that I have correctly configured your plugin.
 * But when the post is sent to Facebook or Twitter (the two social networks I have
   configured), one of the extra images is being displayed – all of which are stored
   in a different field and are in the wpue_postmeta table with a meta key of wpcf-
   extra-images.
 * Any suggestions?
 * Thanks
 *  Thread Starter [dustycat](https://wordpress.org/support/users/dustycat/)
 * (@dustycat)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8432369)
 * I’ve taken another look at this overnight and removed the setting I had put in
   your plugin, added it again and then tried adding a new post.
 * It all works fine now!
 * Thanks
 *  Thread Starter [dustycat](https://wordpress.org/support/users/dustycat/)
 * (@dustycat)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8533394)
 * The plugin has started using the wrong image again even though I have my custom
   field specified.
 * The other thing I have done is add some code to take the wpcf-main-image image
   and assign it as the featured image
 * So either way, your plugin ought to be using the right image, but it isn’t
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8534536)
 * Please read this [http://www.nextscripts.com/snap-features/how-snap-sets-images/](http://www.nextscripts.com/snap-features/how-snap-sets-images/)
 * This article shows at least 4 different ways of posting an image to Facebook 
   depending on your plugin and general website settings. Please find the one that
   works for you.

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

The topic ‘Image Selection’ 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/)

## Tags

 * [image selection](https://wordpress.org/support/topic-tag/image-selection/)

 * 6 replies
 * 3 participants
 * Last reply from: [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/image-selection-2/#post-8534536)
 * Status: resolved