Title: Get Image from Post
Author: klickonit
Published: <strong>7 de Xuño, 2009</strong>
Last modified: 13 de Xullo, 2017

---

Buscar plugins

Este plugin **non se actualizou en máis de 2 anos**. É posible que xa non sexa compatible
ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con
novas versións de WordPress.

![](https://s.w.org/plugins/geopattern-icon/get-image-from-post.svg)

# Get Image from Post

 Por [klickonit](https://profiles.wordpress.org/klickonit/)

[Descargar](https://downloads.wordpress.org/plugin/get-image-from-post.zip)

 * [Detalles](https://gl.wordpress.org/plugins/get-image-from-post/#description)
 * [Valoracións](https://gl.wordpress.org/plugins/get-image-from-post/#reviews)
 *  [Instalación](https://gl.wordpress.org/plugins/get-image-from-post/#installation)
 * [Desenvolvemento](https://gl.wordpress.org/plugins/get-image-from-post/#developers)

 [Soporte](https://wordpress.org/support/plugin/get-image-from-post/)

## Descrición

** this plugin is no longer being update. Please feel free to adopt me! **

This is a simple plugin which allows users to return an image from the related post.

## Instalación

To install the plugin, please upload the folder to your plugins folder and active
the plugin.

## Preguntas frecuentes

  Installation Instructions

To install the plugin, please upload the folder to your plugins folder and active
the plugin.

  How do I display the results?

Insert the following code into your WordPress theme files:

  General results

Without passing any parameters, the plugin will return ten results or fewer depending
on how many posts you have.

horshipsrectors_get_image_from_post();

  Altering the before and after values

By default the plugin wraps your code in list item (<li>) tags but you can specify
how to format the results using the following code:

horshipsrectors_get_image_from_post(‘before=<p>&after=</p>’);

  Adding a Link

If you’d like to link to the post (remember it’s not live yet) you can do so by 
calling:

horshipsrectors_get_image_from_post(‘link=true’);

  Which image?

You can specify which image is returned using the code:

horshipsrectors_get_image_from_post(‘image=2’);

  Strip Attributes

If you would like to strip the attributes such as width and height from the returned
value:

horshipsrectors_get_image_from_post(‘strip=true’);

  Echo vs. Return

Finally, if you’d like to copy the results into a variable you can return the results
as follows:

horshipsrectors_get_image_from_post(‘show=false’);

## Comentarios

Non hai recensións para este plugin.

## Colaboradores e desenvolvedores

“Get Image from Post” é un software de código aberto. As seguintes persoas colaboraron
con este plugin.

Colaboradores

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

[Traduce “Get Image from Post” ao teu idioma.](https://translate.wordpress.org/projects/wp-plugins/get-image-from-post)

### Interesado no desenvolvemento?

[Revisa o código](https://plugins.trac.wordpress.org/browser/get-image-from-post/),
bota unha ollada ao[repositorio SVN](https://plugins.svn.wordpress.org/get-image-from-post/),
ou subscríbete ao [log de desenvolvemento](https://plugins.trac.wordpress.org/log/get-image-from-post/)
por [RSS](https://plugins.trac.wordpress.org/log/get-image-from-post/?limit=100&mode=stop_on_copy&format=rss).

## Rexistro de cambios

#### 2.0.0

 * renamed function to be more compatible.
 * tested and optimized in WordPress 3.2
 * added test to determine in images existed

#### 1.0.0

 * official release
 * added strip attribute

#### 1.1.0

 * minor fixes for wordpress new admin

## Adopta este plugin

 Este plugin está buscando novos desenvolvedores. Estás interesado en asumir esa
responsabilidade?

 [Ler máis](https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/)

## Meta

 *  Versión **2017.08.13**
 *  Última actualización **Fai 9 anos**
 *  Instalacións activas **10+**
 *  Versión de WordPress ** 4.0.0 ou superior **
 *  Probado ata **4.8.0**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/get-image-from-post/)
 * Etiqueta
 * [adopt-me](https://gl.wordpress.org/plugins/tags/adopt-me/)
 *  [Vista avanzada](https://gl.wordpress.org/plugins/get-image-from-post/advanced/)

## Valoracións

Aínda non se enviaron valoracións.

[Your review](https://wordpress.org/support/plugin/get-image-from-post/reviews/#new-post)

[Ver todas as valoracións](https://wordpress.org/support/plugin/get-image-from-post/reviews/)

## Colaboradores

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

## Soporte

Tes algo que dicir? Necesitas axuda?

 [Ver o foro de soporte](https://wordpress.org/support/plugin/get-image-from-post/)