News Feed
Jobs Feed
Sections




News Archive
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

Matthew Turland's Blog: Renaming a DOMNode in PHP

PHPBuilder.com.au: Powerful Web Services with PHP and SOAP

Paul Jones' Blog: Solar: From Blog to Docs

Hasin Hayder's Blog: Using ActiveRecord Library Separately from CodeIgniter

DevShed: Benchmarking Applications with PHP


Community Events











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


community interview podcast testing composer development object series code example zendframework2 tool language release introduction framework functional opinion unittest conference

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