Imagecache 2 and imagecrop

I made a small screencast about a new Drupal module I'm currently writing. It uses imagecache 2 and it's ability to let other modules define their own actions. My module provides a javascript crop action and a cropping box on the image you want to crop. It currently can hook into the imagefield widget and knows which presets in imagecache are available with the 'javascript crop' action. The difference with eyedrop and imagefield_crop is that it doesn't provide its own image cropping widget, instead we hook into the existing imagefield. It is not fully finished yet, but you can see a preview underneath.

Things I would like to see happening in the future:

  • Hook into more modules (image, gallery etc).
  • Get this patch into ImageCache 2. (the patch isn't needed anymore!)
  • Merge this module with eyedrop & imagefield crop / combine our efforts since Imagecache has a really strong API.


The title of this post is a good summary how the human mind is capable of doing things you'd only imagine: building tons of skyscrapers, multiple long suspension bridges, a complete underground subway network on a very small piece of land but also doing stupid things like shooting down people you envy. My second day in New York started at strawberry fields, a memorial for John Lennon in Central Park, hence the title if you look at the picture. It was the only moment where I took some more time instead of rushing away to my next destination. The past two days, I lived like the cliché New Yorker is described mostly: fast and always busy. Can't really tell how much miles I allready walked and spent on the subway, but my legs sure are tired and having a break right now at the hostel is refreshing. I'll definitely have to come back some day because 2 and a half days simply ain't enough. One thing is certain: I love New York city - don't worry, I won't buy a t-shirt/hat/whatever - and if I'd have the opportunity to get a job here for like 6 months, I wouldn't hesitate at all.

Anyway, off again to take a look at NYC in the dark. Turn on the Bright Lights baby!


holiday, new york

Hello New York!

Good weather today, so I made it to New York finally. Landing at La Guardia is spectacular because the plane flies close to manhattan and even over the statue of liberty, so my album of New York is allready packed with great pictures! Still waiting to check in and to go down town and getting amazed! I'll have to hurry though, because I'm allready leaving on tuesday. See you all back on wednesday!


holiday, new york


Waiting on the airport for 12 hours seeing your flight getting delayed every hour isn't fun at all. I always had a romantic view on the aspect of sitting and waiting at the gate, but that is now a great illusion. To make it worse: I have boarded two times in the airplane and exited it twice after the captain announced we couldn't take off, the second time our flight eventually got cancelled due to fog on JFK. God damn, I should have been standing on Times Square right now with my sunglasses on watching all the billboards! Oh well, second try tomorrow.


holiday, new york

DrupalCon looking back

Apart from the Code Sprint at the MIT tomorrow, DrupalCon Boston is officially over. It was a great experience and a confirmation that I've made the right choice for this wonderfull development framework - not a real cms as some people would like to call it. Some personal hightlights.

Infinite interoperability

Dries' keynote on monday was impressive and inspiring at the same time. Recognizing that Drupal is in fact in it's early stages, he adressed a very strong vision on where Drupal should go. The part where he showed a video about the integration of RDF and sparql combined with his definition of web 3.0 - yeah, it's an ugly word which he also knows - was mindblowing. Another great moment was when Károly Négyesi stood up and applauded (almost like a child) when Dries announced he would extend the development cycle for D7 to 9 months *if* we somehow integrate (simple) unit testing into core (and contrib). Anyone not supporting this idea is just a fool.

Open source is insecure

This is of course not true as you know. It's a quote from the hilarious keynote from Chris Dibona, former editor of /. , now Open Source manager at Google. Leslie Hawthorn also joined the keynote as she is responsible for the Summer of Code and the Google Higly Open Participation Contest which sponsored a lot of drupal students, so hurray for google! Also fun: anyone remember matrix reloaded where Trinity sat in front of a terminal typing 'nmap' ? Well, a gui for nmap was made during the summer of code called UMIT - Use Me Instead Trinity. Fun right ?

More API's

Instead of thousands contrib modules with scattered functionality, more modules are released every day giving us developers a strong api and several of them eventually end up in core also. This not only reduces the huge overhead of having to many contrib modules, it also ensures updates of modules won't break our sites. Modules like AHAH, actions, triggers, messages, notifications and many others all make our life much easier.

There were other worthy moments to remember like seeing a lot of new people, meeting some folks from irc, Roel and I having our own small code sprint with DAST and the Acquia party at the Felt with a gig of Orbit. Drupal rocks! Even literally. Anyway that's it, I'm off to New York on saturday. See you all back on wednesday with a gigantic jet lag!


drupalcon boston


Subscribe to RSS