Upload & Crop Image With PHP & jQuery

webmotionuk is sharing tutorial how to upload image and crop the image with php and jquery. This script allow us to upload of JPG, GIFs and PNG images. It use Image Area Select plugin by Michal Wojciechowski for selecting a rectangular area of an image.

image crop 600x274 Upload & Crop Image With PHP & jQuery

Basicaly, they are using form to uploading image. Once the image has been uploaded and saved to folder, they are using the “Image Area Select” plugin to crop the image. It basically provides the coordinates to the server to handle the crop.

* x1, y1 = coordinates of the top left corner of the initial selection area
* x2, y2 = coordinates of the bottom right corner of the initial selection area
* width = crop selection width.

Requirements: PHP 4 or Higher, PHP GD Library, jQuery ver 1.2.3 or Higher, Image Area Select plugin
Demo: http://www.webmotionuk.co.uk/jquery/image_upload_crop.php

Incoming search terms for the article:

Related Posts

kiNotice: A jQuery Notification Plugin

1

NetEye Touch Gallery

jquery black

Make Your Website Behave Like An Image Slider With Revolver Plugin

1

Creating Reveal: jQuery Modal

1 Comment

  1. Diana Eftaiha

    01.26.2011

    sweet! looks like those big site (facebook, gravatar) upload/crop profile image options
    Diana Eftaiha´s last blog ..Fresh new beautiful &amp useful free textures to add flair to your photos My ComLuv Profile