Title: Adding Images
Last modified: November 20, 2019

---

# Adding Images

 *  Resolved [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * (@bobjgarrett)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/adding-images-39/)
 * Having looked at the Post structure and the custom fields, it looks like it should
   be possible to add an image to a post that had been submitted by User Submitted
   Posts. So I tried adding an image (using one from another post) by adding a custom
   field user_submit_image with the image information as the value.
    It did not 
   work. Any idea why not and how I might be able to do this should I really need
   to?

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

 *  Thread Starter [bobjgarrett](https://wordpress.org/support/users/bobjgarrett/)
 * (@bobjgarrett)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/adding-images-39/#post-12156204)
 * Trying some other options I find that deleting a custom field user_submit_image
   does not remove the image and changing the filename does not change the image
   so even more puzzled now!
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/adding-images-39/#post-12156208)
 * I know exactly what you are talking about, but unfortunately I am unable to figure
   out why it happens (or doesn’t happen in this case). There is a workaround, however
   but it is sorta clunky:
 * 1) Add the new image to the post using the “Add Media” button
    2) Then after 
   saving the changes, you can add the `user_submit_image` custom field 3) Save 
   changes again
 * The trick here is using the Add Media button to get WP to recognize that the 
   image should be attached to the post. Just adding the custom field by itself 
   is not enough.
 * Let me know if any further questions or feedback, glad to help anytime.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/adding-images-39/#post-12156214)
 * For your second question, which you posted before I was able to type my response,
   the same idea applies: changing/removing `user_submit_image` custom field is 
   not enough to tell WP that the image should no longer be attached to the post.
   If you delete the image via the Media Library it will be deleted for good. Then
   you can delete the custom field, etc.

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

The topic ‘Adding Images’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/adding-images-39/#post-12156214)
 * Status: resolved