Imagecrop on drupal cvs

I just added my imagecrop module to cvs on Drupal. A 5.x development version should be out soon, so everyone is invited to test and submit patches. A lot of things need to be optimized, especially the javascript and css. If anyone is interested being a co-maintainer, I'd be glad to give access to cvs also.

This module makes a javascript toolbox action available thanks to the power of Imagecache 2. It can currently 'hook' into the image module and cck imagefield widget. It provides a 'javascript crop' link on the edit form of an image node or a node with an imagefield widget. The popup window displays all available imagecache presets with a javascript crop action. In your theming you can use the imagecache theme function with a preset and the imagecache action makes a database call to choose the right crop area you have chosen.

More info, CVS and downloads on http://drupal.org/project/imagecrop and a screencast is also available.

Topics 

drupal, imagecrop

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.

Imagine

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!

Topics 

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!

Topics 

holiday, new york

suckage

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.

Topics 

holiday, new york

Pages

Subscribe to realize.be RSS