Linux 软件免费装

ImageURLReturner

开发者 jonquark
更新时间 2010年9月12日 05:31
捐献地址: 去捐款
PHP版本: 2.9 及以上
WordPress版本: 3.0.1

标签

upload thumbnails xmlrpc

下载

详情介绍:

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: http://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: http://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).

更新日志:

0.2 0.1