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

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# Article Photos

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

[Stáhnout](https://downloads.wordpress.org/plugin/article-photo.1.0.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/article-photo/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/article-photo/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/article-photo/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/article-photo/#developers)

 [Podpora](https://wordpress.org/support/plugin/article-photo/)

## Popis

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.

## Instalace

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`.

## Nejčastější dotazy

  I get errors when the plugin is loaded

Ensure that the ImageMagick PHP extension is installed.

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Article Photos je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

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

[Přeložte “Article Photos” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/article-photo)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/article-photo/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/article-photo/), nebo se
přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/article-photo/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/article-photo/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Verze **1.0**
 *  Poslední aktualizace **před 17 roky**
 *  Aktivních instalací **10+**
 *  Verze WordPressu ** 2.7 nebo novější **
 *  Testováno až do WordPressu **2.7.1**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/article-photo/)
 * Štítků
 * [admin](https://cs.wordpress.org/plugins/tags/admin/)[image](https://cs.wordpress.org/plugins/tags/image/)
   [images](https://cs.wordpress.org/plugins/tags/images/)[post](https://cs.wordpress.org/plugins/tags/post/)
   [posts](https://cs.wordpress.org/plugins/tags/posts/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/article-photo/advanced/)

## Hodnocení

Zatím nebyly zadány žádné recenze.

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/article-photo/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/article-photo/)