Title: Custom Image_Src
Author: OverlappingElvis
Published: <strong>2011 年 10 月 5 日</strong>
Last modified: 2011 年 10 月 25 日

---

搜索插件

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

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

# Custom Image_Src

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

[下载](https://downloads.wordpress.org/plugin/custom-image-src.zip)

 * [详情](https://cn.wordpress.org/plugins/custom-image-src/#description)
 * [评价](https://cn.wordpress.org/plugins/custom-image-src/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/custom-image-src/#developers)

 [支持](https://wordpress.org/support/plugin/custom-image-src/)

## 描述

If you’re sharing a link to a blog post on Facebook, having a thumbnail image makes
for a much more effective share. If you have an image in the body of your post, 
Facebook will use that as the share image, but what if you don’t have any images
in your post or want to specify an image you’re not using in the content? To solve
this problem, I created a WordPress plugin that allows you to control which image
shows when a link from your WordPress site is shared on Facebook.

 * Thanks to [Dimas Begunoff](http://www.farinspace.com/wpalchemy-metabox/) for 
   the amazingly helpful [WPAlchemy MetaBox PHP Class](http://www.farinspace.com/wpalchemy-metabox/).
 * I’m using the `<link rel="image_src" href="…" />` approach. If you’re adding 
   more Open Graph meta tags to your `<head>`, you’d probably want to use `<meta
   property="og:image" content="…" />`, but in that case you probably also don’t
   need this plugin.
 * If you’re using any other plugins that add sharing info, Open Graph tags, or 
   similar, this plugin will probably conflict with those.

For questions, comments, or bugs, you can reach me at [@Overlapping](http://twitter.com/Overlapping)
or OverlappingElvis [at] gmail [dot] com.

## 常见问题

  I uploaded an image but it’s still pulling my post thumbnail or first image from
post!

Uncheck the appropriate box in the panel on the post editing screen.

  Why use link rel=”image_src” instead of meta property=”og:image”?

Because that’s what I’m used to using. If you can tell me why I should use `<meta
property="og:image" content="…" />`, I’m totally open to change.

  Shouldn’t you always set a sharing image?

Probably, yeah. I might add a setting to always add a default sharing image you 
can set, if none of the other options are checked.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Custom Image_Src」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

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

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **0.31**
 *  最后更新：**14 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/custom-image-src/)
 * 标签
 * [facebook](https://cn.wordpress.org/plugins/tags/facebook/)[image_src](https://cn.wordpress.org/plugins/tags/image_src/)
   [social sharing](https://cn.wordpress.org/plugins/tags/social-sharing/)
 *  [高级视图](https://cn.wordpress.org/plugins/custom-image-src/advanced/)

## 评级

尚未提交反馈。

[添加我的评价](https://wordpress.org/support/plugin/custom-image-src/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/custom-image-src/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/custom-image-src/)