Title: Article Photos
Author: chrisnorthwood
Published: <strong>16.05.2009</strong>
Last modified: 16.05.2009

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями 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://ru.wordpress.org/plugins/article-photo/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/article-photo/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/article-photo/#installation)
 * [Разработка](https://ru.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`.

## Часто задаваемые вопросы

  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://ru.wordpress.org/plugins/tags/admin/)[image](https://ru.wordpress.org/plugins/tags/image/)
   [images](https://ru.wordpress.org/plugins/tags/images/)[post](https://ru.wordpress.org/plugins/tags/post/)
   [posts](https://ru.wordpress.org/plugins/tags/posts/)
 *  [Дополнительно](https://ru.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/)