Title: Image file names
Last modified: April 1, 2018

---

# Image file names

 *  Resolved [lsapsweb](https://wordpress.org/support/users/lsapsweb/)
 * (@lsapsweb)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/image-file-names-changed/)
 * In the most recent version, uploaded images now have a number added to the end
   of the file name, depending on how many images have been uploaded (eg when I 
   upload an image called image.jpg it is stored as image-0.jpg). Is there any way
   to stop this being added – I am using uploaded files in a club photo competition
   and would like ‘clean’ filenames.
    -  This topic was modified 8 years, 3 months ago by [lsapsweb](https://wordpress.org/support/users/lsapsweb/).

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/image-file-names-changed/#post-10135988)
 * Glad to help. At this time, the only way would be to edit a core file, which 
   is not recommended in general. There should, however, be a way to disable the
   appended dash-number, so I will implement a filter hook in the next version of
   the plugin. Thank you for your feedback on this, it is appreciated.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/image-file-names-changed/#post-10274400)
 * Just to follow up with this, the next version of USP provides a filter hook to
   customize the appended string. For example, to always remove the appended string
   from the filename:
 *     ```
       function usp_customize_filename_append($append) {
       	return '';
       }
       add_filter('usp_filename_append', 'usp_customize_filename_append');
       ```
   
 * Just add via functions.php or custom plugin and done.

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

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

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/image-file-names-changed/#post-10274400)
 * Status: resolved