Title: Article Photos
Author: chrisnorthwood
Published: <strong>16. мај 2009.</strong>
Last modified: 16. мај 2009.

---

Претражи додатке

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](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://sr.wordpress.org/plugins/article-photo/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/article-photo/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/article-photo/#installation)
 * [Изградња](https://sr.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).

## Мета

 *  Version **1.0**
 *  Last updated **17 година раније**
 *  Active installations **10+**
 *  WordPress version ** 2.7 или новије **
 *  Tested up to **2.7.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/article-photo/)
 * Tags
 * [admin](https://sr.wordpress.org/plugins/tags/admin/)[image](https://sr.wordpress.org/plugins/tags/image/)
   [images](https://sr.wordpress.org/plugins/tags/images/)[post](https://sr.wordpress.org/plugins/tags/post/)
   [posts](https://sr.wordpress.org/plugins/tags/posts/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/article-photo/advanced/)

## Оцене

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/article-photo/reviews/)

## Сарадници

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

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/article-photo/)