News Feed
Sections




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

Kae Verens' Blog:
php and jquery chp7 image manipulation
July 20, 2009 @ 09:17:48

Kae Verens has a new post to his blog looking at a form of non-destructive image manipulation - using the URL of the request to determine the changes that need to be made.

The solution is to not actually create copies, but to record the changes applied to the original image in the URL of your manipulated image. When the server is asked for those URLs, it runs the manipulations on the original image and gives you back the new image. Of course, we will cache the new manipulations so this doesn't need to be done every time, but this now allows you to replace the original image, then clear the cache, forcing all the variants of it to refresh, without you needing to do it again.

A demo of the script in action is included in the post as well as a link to download the script doing the work.

0 comments voice your opinion now!
cache url manipulation image


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: How to Create Your Own Twitter Widget in PHP, Part 3

DevShed: Developing a Captcha Application with an Image Generator Class with PHP 5

Zend Developer Zone: Zend Framework, JSON, and Del.icio.us

PHPit.net: Image manipulation with PHP & the GD library (Part 1)

SitePoint PHP Blog: PHP\'s \"doggie\" easter egg


Community Events

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


laravel release podcast interview unittest feature threedevsandamaybe laravel5 opinion introduction community library api wordpress series extension language development voicesoftheelephpant framework

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