News Feed
Sections




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

Smashing Magazine:
Image Manipulation With jQuery and PHP GD
April 05, 2011 @ 12:02:30

Smashing Magazine has a new post today about using jQuery and GD to manipulate images to upload an image, crop it and save that version to the remote server.

One of the numerous advantages brought about by the explosion of jQuery and other JavaScript libraries is the ease with which you can create interactive tools for your site. When combined with server-side technologies such as PHP, this puts a serious amount of power at your finger tips. [...] Sure, there are plugins out there that you can use to do this; but this article aims to show you what's behind the process. You can download the source files for reference.

They walk you through the little bit of setup you'll need before things will be working and then move right into the upload form and PHP handling that goes with it. The Javascript that goes with it is all home-grown (not a plugin) and cleverly uses a DIV to simulate the bounding box for the crop.

0 comments voice your opinion now!
tutorial image manipulate jquery gd crop


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend_Tool and ZF 1.8

DZone.com: Sencha Touch 2 Models - Loading And Saving Model Data Using a Proxy, PHP Example

Inside DealTaker Blog: Kohana PHP 3.0 (KO3) Tutorial Part 1

Tibo Beijen's Blog: Using Zend_Form without Zend Framework MVC

NetTuts.com: The Essentials of Creating Laravel Bundles


Community Events

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


podcast xdebug release api php7 extension introduction community framework unittest install voicesoftheelephpant series laravel library laravel5 example opinion interview language

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