Nich sent us a link to his project, Dr. Pic, an all AJAX image editor. Without using any Flash, the application allows you to upload an image, do simple draw and filter operations, place text, crop, resize, and save a finished copy. Javascript is used to draw preview material to the canvas, and then the user’s commands are submitted back to a PHP backend which returns a new image to replace the previous version.
It doesn’t pretend to be a Photoshop, but in a pinch it could come in handy as a quick tool for resizing or cropping an image. Aside from all that, it’s a nice example of how you can leverage some server-side heavy lifting to support functionality that Javascript is lacking.
ADVERTISEMENT