PHP Classes
elePHPant
Icontem

Crop Image Plugin: Crop an image to a given position and size

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-11-01 (0 years ago) RSS 2.0 feedNot enough user ratingsTotal: 321 All time: 6,837 This week: 1,081Up
Version License PHP version Categories
crop-image-plugin 1.0.1GNU General Publi...5.0PHP 5, Graphics
Description Author

This class can crop an image to a given position and size.

It can take a given image file in GIF, JPEG or PNG format and creates a new image that is cropped from the original at given coordinates, width and height.

The package uses a jQuery plugin to send to the server the image and the crop coordinates via AJAX.

Picture of manudg
  Performance   Level  
Name: manudg <contact>
Classes: 6 packages by
Country: Spain Spain

Details

crop-image-plugin - PHP + jQuery UI + Ajax

<p>This class can crop an image to a given position and size.</p> <p>It can take a given image file in GIF, JPEG or PNG format and creates a new image that is cropped from the original at given coordinates, width and height.</p> <p>The package uses a jQuery plugin to send to the server the image and the crop coordinates via AJAX.</p>

<ul> <li>· Supported image types: jpg, jpeg, png and gif</li> <li>· Requeriments: PHP 5.x and GD Graphics Library</li> </ul>

<img src="https://github.com/ManuDavila/crop-image-plugin/blob/master/screenshot.jpg" />

Screenshots  
  • screenshot
  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Files folder imagethumb (1 file)
Accessible without login Plain text file cropImage.ajax.php Example Example script
Plain text file cropImage.class.php Class Class source
Accessible without login Plain text file index.php Aux. Example script
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Image file screenshot.jpg Data Auxiliary data

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file gif.GIF Icon Icon image
  Accessible without login Image file jpg.jpg Icon Icon image
  Accessible without login Image file png.png Icon Icon image

  Files folder image Files  /  thumb  
File Role Description
  Accessible without login Plain text file hello-world.txt Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 90%
Total:321
This week:0
All time:6,837
This week:1,081Up