Title: Get Image
Author: dgmike
Published: <strong>Òkúdù 18, 2008</strong>
Last modified: Òkúdù 3, 2009

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

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

# Get Image

 Láti ọwọ́ [dgmike](https://profiles.wordpress.org/dgmike/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/get-image.1.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/get-image/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/get-image/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/get-image/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/get-image/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/get-image/)

## Àpèjúwe

Note: This version only works on WordPress 2.6. If you wants to use on wordpress
2.5, please get
 the version 0.5 on download repository.

Take the last image daughter of a post. To use this plugin you just need to insert
one of
 the following commands in your template:

 * `gi_fullsize ();`
 * `gi_medium ();`
 * `gi_thumbnail ();`

Adding a parameter, it becames in the tag img generated. By default, the plugin 
will return
 a string containing the tag of the image, but you can pass the second
parameter to true to make the impression of this string.

#### Updated in version 0.5

Now you have a `gi_library ()` function. It returns all images from yout post Ìtumọ̀
Yorùbá: – not only the
 last daughter, where you can pass some parameters like size
and type of return you wants.

The sizes of `gi_library ()` are: ‘all’, ‘fullsize’, ‘medium’, ‘thumbnail’

#### Upgraded in version 0.8

Added shortcuts for `gi_thumb ()` and `gi_full()`.

Upgraded for wordpress 2.6

Added width and height in `gi_library`.

Using the native `wp_get_attachment_image ()` function.

#### Upgraded in version 0.9

Now, `gi_fullsize()`, `gi_full()`, `gi_medium()`, `gi_thumbnail()` and `gi_thumb()`
recives two parameters.

The first is $print, this param prints the return, use it to shorcur yours call.
So, if you wants
 to print do not use:

    ```
    <?php echo gi_full(); ?>
    ```

But use:

    ```
    <?php gi_full(1); ?>
    ```

The second param says the number of image you want to use. This number is the number
of image in
 galery order. The next code prints the third image in galery on format
thumbnail.

    ```
    <?php gi_thumb(true, 3); ?>
    ```

The function `gi_library()` have shortcuts for thumb and full sizes. Now you can
use
 gi_library(‘thumb’) or `gi_library('full')` in your templates/scripts.

### Upgrated in version 1.0

Now the function `gi_library()` on mode `brute_array` returns the `post_ID`, `title`,`
caption` and `description`
 from the image.

## Ìgbéwọlẹ̀

 1. Upload `getimage.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php gi_fullsize (); ?>` in your templates
 4. You can place `<?php gi_library ('thumbnail'); ?>`

#### Using gi_library

It returns all images from yout post Ìtumọ̀ Yorùbá: – not only the last daughter,
where you can pass some
 parameters like size and type of return you wants. Sintax:

    ```
    gi_library ($size, $extra, $print, $return_as)
    ```

 1. The `size`s of `gi_library ()` are: ‘all’, ‘fullsize’, ‘medium’, ‘thumbnail’. Default:‘
    thumbnail’
 2. The `extra` is an extra string that you wants to put in your image tag. Default:”
 3. The `print` is used if the `return_as` is `string`. It prints the string genered.
    Default: true
 4. The `return_as` is the return that you wants. Here is the powerfull way to manipulate
    your results. The `result_as` can be: ‘string’, ‘array’, ‘brute_array’

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Get Image” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí
plugin yìí.

Àwọn Olùkópa

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

[Túmọ̀ “Get Image” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/get-image)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/get-image/), ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/get-image/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/get-image/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/get-image/?limit=100&mode=stop_on_copy&format=rss).

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 17 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **20+**
 *  Ẹ̀yà WordPress ** 2.6 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **2.7.1**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/get-image/)
 * Àwọn àmì
 * [get-image](https://yor.wordpress.org/plugins/tags/get-image/)[image](https://yor.wordpress.org/plugins/tags/image/)
   [images](https://yor.wordpress.org/plugins/tags/images/)[thumbnail](https://yor.wordpress.org/plugins/tags/thumbnail/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/get-image/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

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

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

## Àwọn Olùkópa

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

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/get-image/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://dgmike.com.br)