這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

LH Image Renamer

描述

When you take photos with your digital camera and then upload them as attachments to a post or page their file name is not altered. This is not inintuitve as then you end upo with 100s of image files with names live IMG_1432.jpg

This plugin fixes that problem by appending a file safe string to the front the file name which is based on the post, page, or cpts slug or post title.

e.g. my-post-title-my-image-name.jpg

This will only accurr for images uploaded as attachments.

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.

安裝

  1. Upload the entire ‘lh-image-renamer’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

What are the available options provided by this plugin?

There are no options, this is WordPress, so decisions not options

Im a developer, can I create a custom rule?

Yes. It’s easy.

You can filter the name used by using the filter built into this plugin:

add_filter( ‘lh_image_renamer_return_name_filter’, function($return, $file_object, $post_object, $file_name, $file_ext){

//do your thing

return $return;

}, 20 );

What is something does not work?

LH Image Renamer, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-image-renamer/. I look there regularly and resolve most queries.

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/

評價

There are no reviews for this plugin.

貢獻者及開發者

“LH Image Renamer” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 LH Image Renamer 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.00 July 05, 2017
* Initial Release

1.01 July 16, 2018
* Singleton pattern