Title: Image Cropper
Author: julioprotzek
Published: <strong>Июль 21, 2011-ж.</strong>
Last modified: Июль 21, 2011-ж.

---

Плагиндерди издөө

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://ky.wordpress.org/plugins/image-cropper/#description)
 * [Сын-пикирлер](https://ky.wordpress.org/plugins/image-cropper/#reviews)
 *  [Орнотуу](https://ky.wordpress.org/plugins/image-cropper/#installation)
 * [Development](https://ky.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.KG

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

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

## Сын-пикирлер

There are no reviews for this plugin.

## Contributors & Developers

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

Мүчөлөрү

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

[Translate “Image Cropper” into your language.](https://translate.wordpress.org/projects/wp-plugins/image-cropper)

### Interested in development?

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

## Өзгөртүүлөр

#### 0.3.0

 * First public version.

## Мета

 *  Нуска **0.3.0**
 *  Акыркы жаңыртуу **15 жыл мурун**
 *  Активдүү орнотуулар **40+**
 *  WordPress нускасы ** 3.0 же андан жогору **
 *  Tested up to **3.2.1**
 *  Тил
 * [English (US)](https://wordpress.org/plugins/image-cropper/)
 * Тег:
 * [api](https://ky.wordpress.org/plugins/tags/api/)[cropper](https://ky.wordpress.org/plugins/tags/cropper/)
   [image](https://ky.wordpress.org/plugins/tags/image/)
 *  [Advanced View](https://ky.wordpress.org/plugins/image-cropper/advanced/)

## Рейтинг

Азырынча эч кандай сын-пикир жок.

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

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

## Мүчөлөрү

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

## Колдоо

Комментарийлер барбы? Жардам керекпи?

 [Колдоо форумун көрүү](https://wordpress.org/support/plugin/image-cropper/)