Title: WP-Auto Image Grabber
Author: Meitar
Published: <strong>اکتوبر 31, 2010</strong>
Last modified: فروری 28, 2011

---

پلگ انز تلاش کریں

یہ پلگ ان **ورڈپریس کے تازہ ترین 3 ریلیزوں کے ساتھ ٹیسٹ نہیں کیا گیا ہے**۔ اب یہ
برقرار نہیں رکھا جا سکتا یا معاونت نہیں کی جا سکتی اور اس کو ورڈپریس کے تازہ ترین
ورژنز کے ساتھ استعمال کیے جانے پر مطابقت کے مسائل ہو سکتے ہیں۔

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

# WP-Auto Image Grabber

 منجانب [Meitar](https://profiles.wordpress.org/meitar/)

[ڈاؤن لوڈ کریں](https://downloads.wordpress.org/plugin/wp-auto-image-grabber.zip)

 * [تفصیلات](https://ur.wordpress.org/plugins/wp-auto-image-grabber/#description)
 * [جائزے](https://ur.wordpress.org/plugins/wp-auto-image-grabber/#reviews)
 *  [انسٹالیشن](https://ur.wordpress.org/plugins/wp-auto-image-grabber/#installation)
 * [ڈیولپمنٹ](https://ur.wordpress.org/plugins/wp-auto-image-grabber/#developers)

 [معاونت](https://wordpress.org/support/plugin/wp-auto-image-grabber/)

## تفصیل

Inserts an image from a page you link to at the start of your blog post. A simple
algorithm tries to get a "main content” image (rather than an advertisement), automatically
providing your post with relevant, attributed artwork. This is especially useful
for bloggers who syndicate posts to sites like Facebook or Digg, which use the first
image in a post as a thumbnail for their post.

This plugin **requires PHP 5**; sites running on PHP 4 will produce fatal errors.

By default, the plugin will follow the first link in your blog post and grab what
it thinks is an appropriate main content image from there. If your posts follow 
a particular structure or pattern, you can tell the plugin to follow a certain link(
such as a link with a particular `class`) by setting the `Pointer element for destination
page` value to an XPath query that returns the link you want.

For instance, the following XPath query will match the first link with a class of`
grab-me`:

    ```
    //a[@class="grab-me"][1]
    ```

Here’s an XPath query that will match the first link within the very last paragraph
of your post:

    ```
    //p[position()=last()]/a[1]
    ```

For more XPath (and XQuery) syntax examples, refer to the [XPath specification at the W3C](http://www.w3.org/TR/xpath/).
If you’re a developer, you may also find several [XPath tools](https://developer.mozilla.org/en/XPath#Tools)
helpful.

Additionally, this plugin allows you to set a custom `class` value on the `<img>`
element that it adds to your post by specifying it in the `Image class value` setting.
For maximum compatibility, consider using one of the [WordPress-generated classes](https://codex.wordpress.org/CSS#WordPress_Generated_Classes)
most themes utilize. For instance, using `alignright` will probably make the automatically-
added image float to the right.
 This plugin uses [PHP5’s DOMDocument methods](http://www.php.net/manual/en/book.dom.php)
to parse both your post and the remote page. It uses [XPath](http://en.wikipedia.org/wiki/XPath)
to query the DOM.

## اسکرین شاٹس

[⌊The WP-Auto Image Grabber plugin options.⌉⌊The WP-Auto Image Grabber plugin options
.⌉[

The WP-Auto Image Grabber plugin options.

## انسٹالیشن

 1. Download the plugin file.
 2. Unzip the file into your ‘wp-content/plugins/’ directory.
 3. Go to your WordPress administration panel and activate the plugin.

## عمومی سوالات

  Will the plugin change my posts, database, or anything else?

No; this plugin uses [WordPress filters](https://codex.wordpress.org/Plugin_API/Filter_Reference)
to make changes on-the-fly. It does not change the content of your posts in any 
way, and it uninstalls cleanly, without leaving a trace. 🙂

  Does the plugin save the images or offer any caches?

No, not at this time, but I’m hoping to add this optional capability to future versions
of the plugin. ([Patches welcome](http://github.com/meitar/wp-auto-image-grabber/issues).)

## جائزے

There are no reviews for this plugin.

## شراکت دار اور ڈیویلپرز

“WP-Auto Image Grabber” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں
حصہ لیا:

شراکت دار

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

[“WP-Auto Image Grabber” کا اپنی زبان میں ترجمہ کریں۔](https://translate.wordpress.org/projects/wp-plugins/wp-auto-image-grabber)

### ڈویلپمینٹ میں دلچسپی ہے؟

[کوڈ براؤز کریں](https://plugins.trac.wordpress.org/browser/wp-auto-image-grabber/)،
[ایس این وی ریپوزیٹری](https://plugins.svn.wordpress.org/wp-auto-image-grabber/)
کو چیک کریں یا [ڈویلپمینٹ لاگ](https://plugins.trac.wordpress.org/log/wp-auto-image-grabber/)
کو سبسکرائب کریں بذریعہ [آر ایس ایس](https://plugins.trac.wordpress.org/log/wp-auto-image-grabber/?limit=100&mode=stop_on_copy&format=rss)۔

## چینج لاگ

#### 0.3.1

 * Fix bug causing plugin to throw fatal error when remote document could not be
   parsed.

#### 0.3

 * New option to customize the remote main image search patterns.
 * Fix bug where plugin didn’t activate with proper default options.
 * Minor code cleanup.

#### 0.2

 * Minor code clarity improvements, more comprehensive "main image” pattern matching.

#### 0.1

 * Initial development version.

## میٹا

 *  Version **0.3.1**
 *  Last updated **15 سال پہلے**
 *  Active installations **20+**
 *  WordPress version ** 2.6 یا اس سے جدید **
 *  Tested up to **3.1.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-auto-image-grabber/)
 * Tags
 * [automation](https://ur.wordpress.org/plugins/tags/automation/)[images](https://ur.wordpress.org/plugins/tags/images/)
 *  [اعلی درجے کا منظر](https://ur.wordpress.org/plugins/wp-auto-image-grabber/advanced/)

## درجہ بندیاں

No reviews have been submitted yet.

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

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

## شراکت دار

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

## معاونت

کچھ کہنا ہے؟ مدد چاہیے؟

 [معاونتی فورم دیکھیں](https://wordpress.org/support/plugin/wp-auto-image-grabber/)

## عطیہ دیں

کیا آپ اس پلگ ان کی ترقی میں معاونت کرنا چاہتے ہیں؟

 [ اس پلگ ان کو عطیہ دیں ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=TJLPJYXHSRBEE&lc=US&item_name=Donation%20to%20support%20WP%2dAuto%20Image%20Grabber%20plugin&item_number=wp%2dauto%2dimage%2dgrabber&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)