Title: Image Cropper
Author: julioprotzek
Published: <strong>21 Korrik, 2011</strong>
Last modified: 21 Korrik, 2011

---

Kërkoni te shtojca

Kjo shtojcë **s’është testuar me 3 hedhjet e rëndësishme të fundit në qarkullim 
të WordPress-it**. Mund të mos e mirëmbajnë më, ose mundet të mos mbulohet më dhe
mund të ketë probleme përputhshmërie, kur përdoret me versione më të freskët të 
WordPress-it.

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

# Image Cropper

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

[Shkarkim](https://downloads.wordpress.org/plugin/image-cropper.0.3.0.zip)

 * [Hollësi](https://sq.wordpress.org/plugins/image-cropper/#description)
 * [Shqyrtime](https://sq.wordpress.org/plugins/image-cropper/#reviews)
 *  [Instalim](https://sq.wordpress.org/plugins/image-cropper/#installation)
 * [Zhvillim](https://sq.wordpress.org/plugins/image-cropper/#developers)

 [Asistencë](https://wordpress.org/support/plugin/image-cropper/)

## Përshkrim

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 ?>">
    ```

## Instalim

 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); ?>`

## PBR

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

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

## Shqyrtime

Për këtë shtojcë s’ka shqyrtime.

## Kontribues & Zhvillues

“Image Cropper” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë
personat vijues.

Kontribues

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

[Përkthejeni “Image Cropper” në gjuhën tuaj.](https://translate.wordpress.org/projects/wp-plugins/image-cropper)

### Ju intereson zhvillimi?

[Shfletoni kodin](https://plugins.trac.wordpress.org/browser/image-cropper/), shkarkoni
[depon SVN](https://plugins.svn.wordpress.org/image-cropper/), ose pajtohuni përmes
[RSS-je](https://plugins.trac.wordpress.org/log/image-cropper/?limit=100&mode=stop_on_copy&format=rss)
te [regjistri i zhvillimeve](https://plugins.trac.wordpress.org/log/image-cropper/).

## Regjistër ndryshimesh

#### 0.3.0

 * First public version.

## Të tjera

 *  Version **0.3.0**
 *  Përditësuar së fundi më **15 vjet më parë**
 *  Instalime aktive **30+**
 *  Version WordPress-i ** 3.0 ose më i madh **
 *  E provuar deri me **3.2.1**
 *  Gjuhë
 * [English (US)](https://wordpress.org/plugins/image-cropper/)
 * Etiketa
 * [api](https://sq.wordpress.org/plugins/tags/api/)[cropper](https://sq.wordpress.org/plugins/tags/cropper/)
   [image](https://sq.wordpress.org/plugins/tags/image/)
 *  [Pamje e Thelluar](https://sq.wordpress.org/plugins/image-cropper/advanced/)

## Vlerësime

S’është parashtruar ende ndonjë përshtypje.

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

[Shihni krejt shqyrtimet](https://wordpress.org/support/plugin/image-cropper/reviews/)

## Kontribues

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

## Asistencë

Keni diçka për të thënë? Ju duhet ndihmë?

 [Shihni forum asistence](https://wordpress.org/support/plugin/image-cropper/)