Fr Thumbnails Folder

外掛說明

WordPress generates thumbnails in the same directory with the original image. This plugin change this behavior by generating the thumbnails in a separate directory. The thumbnails will only be generated when they are needed and has not been generated.

This plugin will only move the thumbnails location for new uploaded images. To move all thumbnails, you need to delete all existing thumbnails (see FAQ).

螢幕擷圖

  • Folder tree view

安裝方式

  1. Upload fr-thumbnails-folder folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress

常見問題集

Uninstallation Instructions

  1. Deactivate and delete the plugin through the Plugins menu in WordPress
  2. Regenerate thumbnails using Regenerate Thumbnails plugin
  3. Delete {$upload_path}/thumbnails directory

How to delete all existing thumbnails?

  • WP-CLI

    This is the recommended way, especially if you have a lot of images.

    wp fr-thumbnails-folder delete-thumbnails
    

    For multisite:

    wp --url=<site address url> fr-thumbnails-folder delete-thumbnails
    
  • GUI

    Tools → Delete Thumbnails

Why did you create this plugin?

When backing up files, I only want the original images, not the thumbnails. So to make things easier, I need to separate its location.

使用者評論

2021 年 6 月 19 日 1 則留言
Am I the only one using this plugin? I think it is amazing, and I hope it will be maintained for years. Thanks Fahri, and please don’t abandon it P.S. Maybe it is not so popular due to the lacking documentation? I simply can’t believe people don’t want a separate folder for “extra” image bloat (aka thumbnails) and on-the-fly generation of them
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Fr Thumbnails Folder〉的開發相關工作。

參與者

將〈Fr Thumbnails Folder〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.4.0

  • Add support for PDF.
  • Fix only resize if smaller than the original size.

1.3.1

  • Fix broken image path on Windows.

1.3.0

  • Add filter hooks to allow modification of the thumbnail location.
  • Add wp fr-thumbnails-folder delete-thumbnails command.

1.2.0

  • Add ability to retry deleting thumbnails.
  • Delete thumbnails one by one.
  • Fix plugin cannot display default thumbnail location.

1.0.1

  • Fix incorrect srcset URLs.

1.0.0

  • Initial release.