Title: Image Cropper
Author: julioprotzek
Published: <strong>2011-يىلى 21-ئىيۇل</strong>
Last modified: 2011-يىلى 21-ئىيۇل

---

قىستۇرما ئىزدە

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/image-cropper.svg)

# Image Cropper

 يازغۇچى [julioprotzek](https://profiles.wordpress.org/julioprotzek/)

[چۈشۈر](https://downloads.wordpress.org/plugin/image-cropper.0.3.0.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/image-cropper/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/image-cropper/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/image-cropper/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/image-cropper/#developers)

 [قوللاش](https://wordpress.org/support/plugin/image-cropper/)

## چۈشەندۈرۈش

For cropping a post thumbnail image to 200×300 pixels:

    ```
    <?php
        the_post();
        img(200, 300);
    ?>
    ```

This will verify the existence of post thumbnail, crop the image, save it in uploads
folder, and generate an image tag.

To verify the existence of a post thumbnail, you can use `has_img()`

    ```
    <?php if (has_img()): ?>
    <figure>
        <?php img(200, 300) ?>
        <figcaption>Some text</figcaption>
    </figure>
    <?php endif ?>
    ```

To crop images that are not post thumbnails, you can use `crop($url, $size)`

    ```
    <?php
        $cropped_url= crop( get_bloginfo('url') . '/wp-content/uploads/image.jpg', array(200, 300) );
    ?>
    <img src="<?php echo $cropped_url ?>">
    ```

## ئورنىتىش

 1. Upload `plugin-name.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ›Plugins‹ menu in WordPress
 3. Done 🙂 Use the new template tags on your theme, eg `<?php the_post(); img(200,
    300); ?>`

## FAQ

  When using img(), where does the image come from?

The img() template tag gets the image from your post thumbnail.

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«Image Cropper» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

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

[«Image Cropper» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/image-cropper)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/image-cropper/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/image-cropper/) تەكشۈرۈپ ياكى [RSS](https://plugins.trac.wordpress.org/log/image-cropper/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/image-cropper/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 0.3.0

 * First public version.

## Meta

 *  Version **0.3.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **15 يىل بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **30+**
 *  WordPress نەشرى ** 3.0 ياكى يۇقىرى **
 *  **3.2.1** دا سىنالغان
 *  تىل
 * [English (US)](https://wordpress.org/plugins/image-cropper/)
 * بەلگە
 * [api](https://ug.wordpress.org/plugins/tags/api/)[cropper](https://ug.wordpress.org/plugins/tags/cropper/)
   [image](https://ug.wordpress.org/plugins/tags/image/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/image-cropper/advanced/)

## دەرىجە

No reviews have been submitted yet.

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

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/image-cropper/reviews/)

## تۆھپىكار

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

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/image-cropper/)