Still trying to find ways to improve eZPublish, I've thought about a simple process to resize pictures without having to download the picture, to resize in whatever image software and then, upload it again in eZPublish.
My aim is resizing and not scaling. It means that we are losing some information by cropping the picture that we are not losing by resizing. I'm just specifying this point because it's not a extension of the image.ini / image_class mechanism, but a new functionality which allow the user to cut himself a square in his picture. I guess a picture of the result is more obvious :
You can download it as usually on ez.no.
It uses a JavaScript library coded by David Spurr and the Scriptaculous library.
Here's the first release of eZDebug.
The functionnalities of this extension are to browse dynamically the debug of eZ publish. When you are developping you can have a lot of issues in one template and loose time seeking where is the problem. Of course, you will look at the debug but if there's a lot information, you won't be able to find it quickly.
So you can do it clicking on the right corner of Firefox or doing a CTRL + SHIFT + Q.
Another interesting functionnality is that you can flush the page, cleaning the debug. You just have to click on the clean checkbox and then the Go button.
You can also filter on the type of debug message you are seeking.
The next step it to do the same for the attribute(show) operator. It already works for a attribute(show,1), but I except some problems to create several levels in the tree.
Download available here :
http://ez.no/developer/contribs/3rd_party/firefox_ez_debug_extension

View comments (3)