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

Media from FTP

外掛說明

這個外掛能將透過 FTP 上傳的檔案註冊至媒體庫。

  • This create a thumbnail of the image file.
  • This create a metadata(Images, Videos, Audios).
  • Change the date/time.
  • Work with DateTimePicker. jQuery plugin select date/time.
  • Export the log to a CSV file.
  • You can register a large number of files without timeout work with Ajax.

系列外掛

Tutorial Video

Live Demo

I prepared live demo including add-ons.
User Name: liveuser1
Password: live789user
Live Demo

Why I made this?

  • In the media uploader, you may not be able to upload by the environment of server. That’s when the files are large. You do not mind the size of the file if FTP.

Special Thanks! Translator

螢幕擷圖

  • Search file display
  • Settings Screen Options
  • Settings Register
  • Settings Other
  • Registration file selection
  • File registration result
  • Log screen

安裝方式

  1. Upload media-from-ftp directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

A server error is displayed because there are too many files. “Search & Register” screen does not appear.

  • Media from FTP Settings -> Other -> Limit number of search files
  • Please reduce this number.

  • Media from FTP Settings -> Other -> Execution time

  • Please increasing the number of seconds.

  • Media from FTP Search & Register -> Screen Options -> Search method of files

  • Check of “Search files only for specified directories.”

Certain file types can not be searched.

  • If you want to add the mime type that can be used in the media library to each file type, Please use the Mime Types Plus.

I will not find a file with name like this: a-b-0x0.jpg.

  • Media from FTP Search & Register -> Screen Options -> Search method for the exclusion of the thumbnail
  • Check of “Unusual selection. if you want to search for filename that contains such -0x0. It is low speed.”

Where is it better to upload files?

  • Upload directory is any of the following locations.
  • Single-site wp-content/uploads
  • Multisite wp-content/uploads/sites/*

I want to register file for any folder.

  • Media from FTP Settings -> Register -> Date.
  • Uncheck of “Organize my uploads into month- and year-based folders”.

I want to register file to “month- and year-based folders” without relevant to the timestamp of the file.

  • Media from FTP Settings -> Register -> Date.
  • Uncheck of “Organize my uploads into month- and year-based folders”.

File at the time of registration is moved to another directory.

  • If checked “Organize my uploads into month- and year-based folders”, it will move the file at the time of registration to year month-based folders. If you want to register in the same directory, Please uncheck.

The original file is deleted.

  • The case of the following of this plugin to delete the file.
  1. If it contains spaces in the file name. Convert to “-“. And remove original file. image example.jpg -> image-example.jpg
  2. If the file name is a multi-byte. It makes the MD5 conversion. And remove original file. image例.jpg -> 2edd9ad56212ce13a39f25b429b09012.jpg
  3. If checked “Organize my uploads into month- and year-based folders”, it copy the file to the “month- and year-based folder” and then delete the original file. wp-content/uploads/sites/2/image-example.jpg -> wp-content/uploads/sites/2/2015/09/image-example.jpg

* Thumbnail creation, database registration, do in file after copy.

The original file is deleted, it will be the one that has been added to eight characters to the end of the file.

  • When find the same file name in the media library in order to avoid duplication of the file, adds the date and time, minute, and second at the time it was registered in the end.
  • image-example.jpg -> image-example03193845.jpg
  • Meaning 03193845 -> 3rd 19h38m45s

‘Fatal error: Maximum execution time of ** seconds exceeded.’ get an error message.

  • Media from FTP Settings -> Other -> Execution time
  • Please increasing the number of seconds.

I want to change the date at the time of registration.

  • Media from FTP Settings -> Register -> Date -> Get the date/time of the file, and updated based on it. Change it if necessary.
  • Please checked.

I want to register at the date of the Exif information.

  • Media from FTP Settings -> Register -> Date -> Get the date/time of the file, and updated based on it. Change it if necessary.Get by priority if there is date and time of the Exif information.
  • Please checked.

I would like to hide the files do not need to search & registration screen.

  • Media from FTP Search & Register -> Screen Options -> Exclude file
  • Please enter the exclusion file. It can be a regular expression.

I want to turn off the creation of additional images such as thumbnail.

  • It conforms to the WordPress settings.
  • Settings-> Media
  • Please change the six values to all zeros.
  • Please comment out the ‘set_post_thumbnail_size’ or ‘add_image_size’ of theme’s functions.php.

使用者評論

2022 年 7 月 22 日
Gagnez du temps ! Ce plugin est parfait pour enregistrer des images dans Wordpress alors qu'elles sont déjà sur votre serveur.
2022 年 7 月 8 日
The plugin is great! Fixed problems with media files on WordPress. What I suggest to add to the developer: adding date to media file from location directory as files can be uploaded to directory 2020/07 in 2022 :). + donate 😉
2020 年 8 月 3 日
Works great for me ... although I need the modify the maximum FTP limits on my server. Good job.
2020 年 7 月 29 日
It does it right. Finally...found one that works good. thanks to the Dev.
閱讀全部 83 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Media from FTP〉的開發相關工作。

參與者

〈Media from FTP〉外掛目前已有 10 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Media from FTP〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

11.14

Plugin Switching Announcement.

11.13

Fixed help tab.

11.12

Fixed a problem of read logs.

11.11

Fixed a problem with the output of metadata.

11.10

The import feature has been deprecated.
Added an error handler for the registration screen.

11.09

A dedicated notification bar has been added.
Fixed a problem of target=”_blank”.

11.08

Fixed saving per-user settings.

11.07

Fixed an issue with file name sanitization.
Added the display of original files for large images.

11.06

Registration date & time is now possible in seconds unit.

11.05

Added error handler for XML import.

11.04

Fixed problem of help tab.

11.03

Fixed an issue where the original image was searched when media reduced with a large image was registered.

11.02

Fixed problem of sites dir exclusion on multisite.

11.01

Supported WordPress 5.3.

11.00

Conformed to the WordPress coding standard.
The code at the time of registration was reviewed and the speed has improved.

10.10

Fixed problem of getting user ID.

10.09

Fixed problem of getting user ID.

10.08

Fixed problem of getting user ID.

10.07

Fixed problem of uppercase file suffix.
Fixed the problem of obtaining the shooting date and time of Exif.
Changed add-ons link.