Home Plugins make filename lowercase
Make Filename Lowercase logo

Make Filename Lowercase

by ereckers on WordPress.org

Sets uploaded media filename to lowercase.

(4)
Upload media filename of mixed case (in this case, the file MIXED-cAsE-filename.JPG).

Upload media filename of mixed case (in this case, the file MIXED-cAsE-filename.JPG).

Sets uploaded media filename to lowercase as filter on sanitize_file_name. Based on post at Stack Overflow asking if there is a way to “Rename files during upload within WordPress 3.0 backend”.

Created for WordPress 3.0.1+ which saves any uploaded media filename (Image, Video, Audio) as lowercase. This effectively changes the name of the file at upload if a user were to upload a file with any uppercase characters.

For instance:

  • MOVIE-FILE.MOV > movie-file.mov
  • Movie-File.wmv > movie-file.wmv
  • ImAgEfILe.gif > imagefile.gif
  • imageFile.JPG > imagefile.jpg
  • ETC > etc

Note: WordPress sets file extension to lowercase. This plugin does a strtolower on the filename.

More Information

Visit the Red Bridge Internet site for more information about Make Filename Lowercase plugin.

Active installations800+
Weekly downloads
33-5.71%
Version1.0.2
Last updated10/25/2024
WordPress version3.0.1
Tested up to6.6.2
Tags
filenamelowercasemediastrtolowerupload
Make Filename Lowercase | Plugin0