plugin-icon

Clean Image Filenames

제작자: Upperdog·
This plugin automatically converts language accent characters to non-accent characters in filenames when uploading to the media library.
등급
4.6/5
버전
1.5
활성화된 설치 항목
30K
최근 업데이트일
Apr 22, 2025
Clean Image Filenames

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.

Examples

  • 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( 'application/pdf', 'image/jpeg', 'image/png', ); return $mime_types; } add_filter( 'clean_image_filenames_mime_types', 'my_clean_image_filenames_mime_types' );
무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.3
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.