News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Asvin Balloo's Blog:
AJAX image cropper with YUI and PHP
October 08, 2008 @ 12:09:21

Asvin Balloo has posted a tutorial that shows how to combine the YUI libraries with PHP to create a simple image cropper.

This post will show you how to build an AJAX crop image tool using the image cropper control from YUI library and PHP. The ImageCropper Control from the YUI library gives you an interactive interface for getting the dimensions to crop an image and using these dimensions in PHP, we can do some cropping.

The script takes in an upload, shows it in the browser for cropping and once altered, pushes the altered image back out as a download. Full code is included as well as a demo of the final result and a sample file to get you started.

0 comments voice your opinion now!
ajax image crop tutorial yui library control


blog comments powered by Disqus

Similar Posts

DevShed: Working with the Tidy Library in PHP 5

DynamicWebPages.de: PHP at LinuxTag 2006 - May 3rd-6th

Zend Developer Zone: XML and PHP 5

Smashing Magazine: Create A Christmas Wish List With PHP (For Beginners)

Geeks Not Nerds Blog: Rolling your own Blog Backend from Scratch Part 1


Community Events





Don't see your event here?
Let us know!


opinion laravel symfony tips release list deployment language community package bugfix podcast framework api voicesoftheelephpant interview introduction series install library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework