[wordpress插件] Auto Rename Media On Upload在上传时自动重命名媒体

wordpress 插件 文章 2020-02-24 17:20 529 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin will automatically rename any media files you upload to the Media Library, by adding a prefix to the beginning of the filename based on the filetype.

此插件将根据文件类型在文件名的开头添加前缀,从而自动重命名您上载到媒体库的所有媒体文件。

For example, you can tell it to add the prefix “pic-” to the beginning of all .jpg files that you upload.

例如,您可以告诉它在所有上载的.jpg文件的开头添加前缀“ pic-”。

So uploading an image called car.jpg would get renamed to pic-car.jpg

因此,上传名为car.jpg的图片将重命名为pic-car.jpg

And since it changes the name of the file, it will also change the “slug” that wordpress uses based on this new name.

由于它更改了文件名,因此还将根据此新名称更改wordpress使用的“子文件”。

You can set an individual/unique prefix for each of the following filetypes:

您可以为以下每种文件类型设置单独/唯一的前缀:

jpg jpeg png bmp gif tif mp4 avi m4v mov flv mkv 3gp pdf doc docx xls xlsx ppt pptx mp3 ogg wav zip csv txt rtf odt

jpg jpeg png bmp gif tif mp4 avi m4v mov flv mkv 3gp pdf doc docx xls xlsx ppt pptx mp3 ogg wav zip csv txt rtf odt

You will need to go to the settings page and set the prefix you want to use for each of the filetypes.

您将需要转到设置页面并设置要用于每种文件类型的前缀。

The default behavior is that it will NOT rename any uploaded files until you have set the prefix on the settings page.

默认行为是,除非您在设置页面上设置了前缀,否则它不会重命名任何上传的文件。

下载地址
https://downloads.wordpress.org/plugin/auto-rename-media-on-upload.1.0.4.zip
-EOF-

AI助手支持GPT4.0