Attīrīti attēlu nosaukumi


This plugin automatically converts language accent characters in filenames when uploading to the media library. Characters are converted into browser and server friendly, non-accent characters.


  • Converts accent characters to non-accent, latin equivalents in Swedish, Danish, German, and more.
  • Removes special characters like exclamation marks, periods, hashtags, and more.
  • Lets you choose if you want to convert only image files, or all file types.
  • Makes site and server migrations easier thanks to non-accent character filenames.
  • Provides filter hook for developers who want to specify which file types to convert.


  • Räksmörgås.jpg → raksmorgas.jpg
  • Æblegrød_FTW!.gif → aeblegrod-ftw.gif
  • Château de Ferrières.png → chateau-de-ferrieres.png

Worth noting

The plugin only converts filenames when the files are being uploaded. It can not convert existing files.

Filter for developers

This filter provides developers a way to specify which file types the plugin should convert. This filter overrides the plugin settings on the media settings page. For a complete list of mime types, see Wikipedia.

The following example will convert PDF, JPEG and PNG files only:

function my_clean_image_filenames_mime_types() {
    $mime_types = array(
    return $mime_types;
add_filter( 'clean_image_filenames_mime_types', 'my_clean_image_filenames_mime_types' );


  • Easily choose between cleaning the filenames of all file types or images only.


  1. Search for Clean Image Filenames in the plugins directory.
  2. Install and activate the plugin.


  1. Download and unzip the plugin and upload the clean-image-filenames directory to your /plugins/ directory.
  2. Aktivizē šo spraudni caur WordPress sadaļu “Spraudņi”


Can this plugin convert filenames of existing files in the media library?

Nē, šis spraudnis attīra nosaukumus failiem tikai tad, kad tie tiek augšupielādēti uz Multivides Bibliotēku.


februāris 23, 2019
In Denmark, we use the letters æ, ø, and å, which by danish standards, are translated into ae, oe and aa when necessary. Many plugins similar to Clean Image Filenames, fails to do that properly. That's no catastrophe, its only media filenames after all, but you might as well get it right if possible. Futhermore, titles are left alone - that's a big plus. So the title of a file called "Æblegrød.jpg" stays that way, while the filename get converted to "aeblegroed.jpg", just as I need it. Lastly, this plugin, seems to be the only one of its kind, that has been tested with WordPress 5.1 - the others, while still working, seems abandoned. So - a big 5-star thank you from me. Bjarne
marts 13, 2018
Especially for clients that don´t understand the process of Image naming. Saves you a TON of time!
Lasīt 17 atsauksmi

Contributors & Developers

“Attīrīti attēlu nosaukumi” is open source software. The following people have contributed to this plugin.


“Attīrīti attēlu nosaukumi” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Attīrīti attēlu nosaukumi” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Izmaiņu žurnāls


  • Rewrite cleaning function to better handle specific characters.
  • Make sure code is compliant with WordPress Coding Standards.


  • Izveidota iespēja spraudni internacionalizēt / pārtulkot citās valodās.


  • Oriģinālā, neattīrītā faila nosaukuma uzstādīšana par virsrakstu pielikumam.


  • Pievienots skripts, kas izdzēš spraudņa uzstādījumus brīdī, kad tas tiek atinstalēts.


  • Spraudņa iestatījumi pievienoti Multivides iestatījumu lapai, ar iespējām pārveidot nosaukumus visiem failu tipiem vai tikai attēliem.
  • Pievienots īsceļš uz spraudņa iestatījumiem, no uzstādīto spraudņu saraksta.


  • Sākotnējais Izdevums.