Title: Upload files with a cover image
Last modified: July 24, 2025

---

# Upload files with a cover image

 *  [wildapache](https://wordpress.org/support/users/wildapache/)
 * (@wildapache)
 * [9 months ago](https://wordpress.org/support/topic/upload-files-with-a-cover-image/)
 * Hello.
 * I am developing an upload files form with 3 files to upload max.
 * I will works like:
    1. User chose an image
    2. Chosen image right away uploading via Ajax
 * It works fine, but I want to create another thing.
 * I want to create like a COVER image with no possibility to DELETE IT, I mean 
   the POST can’t be posted/updated without 0 images.
 * Cover image – I mean is a thumbnail of post.
 * The problem is :
    1. User click EDIT POST
    2. Delete all images
    3. Just leave the edit form without saving/update it.
 * I want to understand how I logically should be works.

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

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [9 months ago](https://wordpress.org/support/topic/upload-files-with-a-cover-image/#post-18570015)
 * I’m a little confused. Are you talking about users on the front end of your website,
   or are you referring to editors on the back end? If the latter, which editor 
   do you use where this form is displayed?
 *  Thread Starter [wildapache](https://wordpress.org/support/users/wildapache/)
 * (@wildapache)
 * [9 months ago](https://wordpress.org/support/topic/upload-files-with-a-cover-image/#post-18570391)
 * I am created a front-end form to create and edit the post, after I added a possibility
   to upload an images (attachments) to this post. When user click edit post he 
   can view your images (attachments) in it and click delete if he want to delete
   it.
 * Now I want thinking how to create an a COVER (thumbnail) images, in way which
   user can’t delete it.
 * For example if user click edit-post, after he can delete all images and leave
   the post (without sending it to update (submit button). So, post remain with 
   a 0 images (attachments).
    -  This reply was modified 9 months ago by [wildapache](https://wordpress.org/support/users/wildapache/).

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

The topic ‘Upload files with a cover image’ is closed to new replies.

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [wildapache](https://wordpress.org/support/users/wildapache/)
 * Last activity: [9 months ago](https://wordpress.org/support/topic/upload-files-with-a-cover-image/#post-18570391)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
