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

ImageURLReturner

外掛說明

When you use a blogging client from your computer/mobile-phone to upload photos to WordPress, WordPress resizes the
image into smaller versions (e.g. thumbnail and medium) but the URLs of these resized images aren’t returned to
the client so it can’t use them.

If clients are altered to support this plugin, when you include photos in an entry, the entry could automagically
include the smaller images which link to the full size version when clicked on.

There is a patch to add the functionality in this plugin into the core of WordPress:
https://core.trac.wordpress.org/ticket/6430
but it missed the cut-off from WordPress 3.0 so it is unlikely to to be included for some time to come.

安裝方式

This section describes how to install the plugin:

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

常見問題集

Do any WordPress client support this plugin yet?

As I write this, it hasn’t been released yet so: not right now. I plan to add support
to MaStory for Maemo mobile phones.

It doesn’t seem to be working

Is WordPress generating thumbnails at all? Look in the same directory as the
image was uploaded. If not, the problem is unlikely to be this plugin (it just
sends the URLs back, it doesn’t alter the image generation which WordPress already
does).

I’ve encounter two problems that stop WordPress generating thumbnails:

  • the gd library (or the php-gd bindings) weren’t installed
  • The client didn’t provide a mime-type for the image. (There is a
    trac item open to ask WordPress to work it out:
    https://core.trac.wordpress.org/ticket/12518
    but in the meantime you need to alter the client or manually alter
    your WordPress installation as described in the trac item).

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

0.2

  • If uploading an image with a duplicate name, WordPress automatically
    renames it and the plugin didn’t handle it correctly

0.1

  • Initial version