Title: Get Image from Post
Author: klickonit
Published: <strong>2009 ལོའི་ཟླ 6 ཚེས 7 ཉིན།</strong>
Last modified: 2017 ལོའི་ཟླ 7 ཚེས 13 ཉིན།

---

མཐུད་སྣེ་བཤེར་འཚོལ།

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Get Image from Post

 རྩོམ་པ་པོ། [klickonit](https://profiles.wordpress.org/klickonit/)

[ཕབ་ལེན།](https://downloads.wordpress.org/plugin/get-image-from-post.zip)

 * [ཞིབ་ཕྲ།](https://bo.wordpress.org/plugins/get-image-from-post/#description)
 * [གདེང་འཇོག](https://bo.wordpress.org/plugins/get-image-from-post/#reviews)
 *  [སྒྲིག་འཇུག](https://bo.wordpress.org/plugins/get-image-from-post/#installation)
 * [ཡར་རྒྱས།](https://bo.wordpress.org/plugins/get-image-from-post/#developers)

 [རམ་འདེགས།](https://wordpress.org/support/plugin/get-image-from-post/)

## ཞིབ་བརྗོད།

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

## སྒྲིག་འཇུག

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

## FAQ

  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’);

## གདེང་འཇོག

There are no reviews for this plugin.

## བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Get Image from Post” is open source software. The following people have contributed
to this plugin.

བྱས་རྗེས་འཇོག་མཁན།

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

[ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Get Image from Post” ཡིག་སྒྱུར་བྱོས།](https://translate.wordpress.org/projects/wp-plugins/get-image-from-post)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/get-image-from-post/),
check out the [SVN repository](https://plugins.svn.wordpress.org/get-image-from-post/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/get-image-from-post/)
by [RSS](https://plugins.trac.wordpress.org/log/get-image-from-post/?limit=100&mode=stop_on_copy&format=rss).

## དག་བཅོས་ཉིན་ཐོ།

#### 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

## Adopt this plugin

 This plugin is seeking new, active, developers. Are you interested in assuming 
that responsibility?

 [མང་དུ་ཀློག](https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/)

## ཟུར་བརྗོད།

 *  Version **2017.08.13**
 *  Last updated **ལོ 9 སྔོན།**
 *  Active installations **10+**
 *  WordPress version ** 4.0.0 ཡང་ན་དེ་ལས་མཐོ་བ། **
 *  Tested up to **4.8.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/get-image-from-post/)
 * Tag
 * [adopt-me](https://bo.wordpress.org/plugins/tags/adopt-me/)
 *  [མཐོ་རིམ་མཐོང་སྣང་།](https://bo.wordpress.org/plugins/get-image-from-post/advanced/)

## གདེང་འཇོག

No reviews have been submitted yet.

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

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

## བྱས་རྗེས་འཇོག་མཁན།

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

## རམ་འདེགས།

Got something to say? Need help?

 [རམ་འདེགས་གླེང་སྟེགས་ལ་ལྟ།](https://wordpress.org/support/plugin/get-image-from-post/)