Showing posts from April, 2006

eZ publish xajax extension upgraded to 0.2.4

A new version of the xajax library has been released. I've just upgraded the extension on the public SVN server.

I'm sure that Kirstof will update the contribution shortly.Kirstof has updated the contribution! Tags:

Reduce thumbnail size in eZ publish by stripping EXIF data

Have been working on a refresh of the willow site and could not work out why the majority of thumbnail images were 20K yet others were 2K. I stumbled on the issue when a bug with the handling on EXIF data presented itself.

When ImageMagick scales images it will copy any EXIF data unless told not to. The images on the willow site contained approximately 18K of EXIF data and this was being copied into the thumbnail variations.

eZ publish makes it easy to add filters for image variations. Simply add the following line to image.ini.append.php in your siteaccess file:
Filters[]=strip=+profile "*" +comment

This will strip EXIF information for "small" image variations and can be added to others by simply adding the Filters[] line to the variations definition.

Newer versions of ImageMagick have a -strip flag that will also remove EXIF data. To use this replace the [ImageMagick] section with:
This will wor…

AJAX, Javascript, CSS debugging extension for Firefox

If you do any javascript and or AJAX work you need the FireBug firefox extension.
FireBug lets you explore the far corners of the DOM by keyboard or mouse. All of the tools you need to poke, prod, and monitor your JavaScript, CSS, HTML and Ajax are brought together into one seamless experience, including an error console, command line, and a variety of fun inspectors.Tags: