Title: Article Photos
Author: chrisnorthwood
Published: <strong>2009年5月16日</strong>
Last modified: 2009年5月16日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

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

# Article Photos

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

[ダウンロード](https://downloads.wordpress.org/plugin/article-photo.1.0.zip)

 * [詳細](https://ja.wordpress.org/plugins/article-photo/#description)
 * [レビュー](https://ja.wordpress.org/plugins/article-photo/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/article-photo/#installation)
 * [開発](https://ja.wordpress.org/plugins/article-photo/#developers)

 [サポート](https://wordpress.org/support/plugin/article-photo/)

## 説明

This plugin adds a form to your post screen that allows you to upload an image to
go with your blog post. You can then use `the_article_image()` function in your 
theme to show the image whereever you want on your theme, at whatever size (dynamically
rescaled and cached using ImageMagick so no dodgy browser rescaling or sending huge
photos out).

An example of it in use is on http://www.nouse.co.uk/, where the photo alongside
each post is attached, and then shown on the front page, and on the single page 
itself in the theme.

## インストール

Make sure you’re using PHP 5 and the ImageMagick extension installed.

Once the plugin is active, you use `the_article_image($size);` function, which echoes
an `img` tag for the image and caption associated with that article, at the width
defined by the `$size` parameter. If there is no image, nothing is returned.

Other functions include a `get_the_article_img($size)` variant, which returns, rather
than echoes the `img` tag. Also, `the_article_photo_caption()` and `get_the_article_photo_caption()`
which get the caption associated with that article. `get_the_article_photo($size)`
works like `get_the_article_img($size)` but just returns a URL, rather than an `
img` tag, and `the_article_photo($size)` returns the URL to the image, or if no 
image exists, to a placeholder image in the template directory called `img/box.png`.

## FAQ

  I get errors when the plugin is loaded

Ensure that the ImageMagick PHP extension is installed.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Article Photos はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献
しています。

貢献者

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

[“Article Photos” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/article-photo)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/article-photo/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/article-photo/)をチェックする
か、[開発ログ](https://plugins.trac.wordpress.org/log/article-photo/)を [RSS](https://plugins.trac.wordpress.org/log/article-photo/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## メタ

 *  バージョン **1.0**
 *  最終更新日 **17年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 2.7またはそれ以降 **
 *  検証済み最新バージョン: **2.7.1**
 *  言語
 * [English (US)](https://wordpress.org/plugins/article-photo/)
 * タグ
 * [admin](https://ja.wordpress.org/plugins/tags/admin/)[image](https://ja.wordpress.org/plugins/tags/image/)
   [images](https://ja.wordpress.org/plugins/tags/images/)[post](https://ja.wordpress.org/plugins/tags/post/)
   [posts](https://ja.wordpress.org/plugins/tags/posts/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/article-photo/advanced/)

## 評価

レビューはまだ送信されていません。

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/article-photo/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/article-photo/)