Title: ImageURLReturner
Author: jonquark
Published: <strong>2010 年 3 月 6 日</strong>
Last modified: 2010 年 9 月 11 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/imageurlreturner.svg)

# ImageURLReturner

 作者：[jonquark](https://profiles.wordpress.org/jonquark/)

[下载](https://downloads.wordpress.org/plugin/imageurlreturner.zip)

 * [详情](https://cn.wordpress.org/plugins/imageurlreturner/#description)
 * [评价](https://cn.wordpress.org/plugins/imageurlreturner/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/imageurlreturner/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/imageurlreturner/#developers)

 [支持](https://wordpress.org/support/plugin/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jonquark ](https://profiles.wordpress.org/jonquark/)

[帮助将「ImageURLReturner」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/imageurlreturner)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/imageurlreturner/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/imageurlreturner/)，或通过[RSS](https://plugins.trac.wordpress.org/log/imageurlreturner/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/imageurlreturner/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **0.2**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.9 或更高版本 **
 *  已测试的最高版本为 **3.0.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/imageurlreturner/)
 * 标签
 * [thumbnails](https://cn.wordpress.org/plugins/tags/thumbnails/)[upload](https://cn.wordpress.org/plugins/tags/upload/)
   [xmlrpc](https://cn.wordpress.org/plugins/tags/xmlrpc/)
 *  [高级视图](https://cn.wordpress.org/plugins/imageurlreturner/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/imageurlreturner/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/imageurlreturner/reviews/)

## 贡献者

 *   [ jonquark ](https://profiles.wordpress.org/jonquark/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/imageurlreturner/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://coralbark.net/blog/?p=127)