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

Easy Digital Downloads – Protect Images

描述

Protects (compress) image files when uploaded as Download file attachment.

When you upload a image file through File Downloads section under Download Files metabox, it uploads the original image file as it is and archive it into .ZIP format.
Then the .ZIP file format is returned back to Media library, user select it and insert into the attachment field.

The original image file which was uploaded then be deleted from the filesystem after it’s archived into .ZIP which is default behavior.

Options

There are couple of options you can use to change it’s behavior. Navigate to Downloads – Settings – Extensions – Protect Images

  • Overwrite ZIP File
    Forces overwrite the ZIP file which already exist with the same name. If this is unchecked and the ZIP file exist (same name), it does not archive and an error is returned. Default: Unchecked

  • Prevent File Deletion
    Avoid deleting the image file after it is archived in ZIP. If image file is required for other use case. Image file will be listed on next refresh when you open Media library. Note: This creates two attachment posts, the one which is archived as ZIP and other is the original image file. Default: Unchecked

安裝

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
Does it protects files other than file type image?

Not right now, but we’d love to know what other file types need to be protected.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Easy Digital Downloads – Protect Images” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0.0

  • Initial