image module

Image Field And Image To Merge By Drupal 7

I'm at the Drupal and Multimedia session at DrupalCamp NYC 5 and they were briefly going over the modules that there are (a) there are a lot and (b) there's usually several ways to do something. One thing they pointed out was that by Drupal 7, the plan is for image module and imagefield module to merge. Great, this will cut down on redundancy and it will give site-builders a clear solution that will hopefully do everything they need it to do.

I also think that MAQUM should be migrated to imagefield and a lot of the metadata should be shoved into a CCK field.

Image Module Used A Lot, Imagefield Not Even Listed

Sie war sehr ehrlich und hat zahlreiche "Baustellen" in Drupal angesprochen.

I don't speak German, but the photo says it all, the image module is used by 30% of Drupal sites, but the imagefield module isn't even listed.

Image (And File Handling) In Drupal 6 And Beyond

In the beginning (2002), there was Image, and everyone could create images as nodes and all was good, if a bit simplistic. (There was even IPTC and EXIF metadata support). After a little bit of time, you could even attach images to nodes. By 2006, images could be attached to nodes. (By now, Flexinode had been around for a while and CCK had been around for a bit, too.) CCK became the predominant way of creating content types, as opposed to writing a new module for each individual content type. ImageField, a CCK add-on, (released in July 2006) allowed images to be handled by CCK. This, combined with other CCK fields let you do all sorts of neat things like set up an online store with one field being the name of the object your are selling, another field being the description and another three or four fields for uploading images of the product. Or you could be an online newspaper and have anywhere from zero to several images per article. Each page (whether online store or newspaper) could be themed to layout the information appropriately with ImageCache creating derivative (read: resized and/or cropped) images.

Fast forward to 2008 and there's primarily two ways to get images in your Drupal site, with Lullabot's Image vs. ImageField and ImageCache being the definitive comparison between the two. If you were fine with images as nodes and had simple needs (gallery, photoblog, etc.) you probably went with (or continued using from back in 2002) Image. On the other hand, if you were creating tons of content types thanks to CCK, you probably jumped ship to ImageField.

Now, there's talk about merging Image with ImageField (and ImageCache), with a script to migrate from Image to ImageField. But it was also pointed out that one field to handle all uploaded files, images or not, should be the way to go and that this would be the end of ImageField. FileField, combined with FileField Image would handle everyone's imge handling needs (as well as other file types as well).

While some people think images need special handling (and they are right to a degree and FileField Image takes care of this) there is also the consideration that other file types need special handling, such as videos. Just like images have a need for derivative images, so do videos (original high resolution, low resolution, stored as a flash file and a thumbnail screencap to display in the page). Having one unified way of uploading files would mean less code to maintain and there might even be a reasonable chance of getting file (and potentially image) handling in core, the CCK way.

(For these reasons, I've decided to postpone a D6 release of MAQUM.)

Giving Up On A MAMP Stack

I've given up on trying to get a MAMP stack on my local Mac Pro. As beefy as machine as it is, it's not Linux. First, apache didn't work out of the box on OS X. Then, while working on image module, I found out that OS X's PHP doesn't come with GD. (I won't even mention my issues with ruby.)

So I'm going to spend more money on proprietary software (VirtualBox didn't work), most likely VMWare's Fusion so I can run a virtualized instance (or three) of Linux locally. It will take less time, behave the way I expect it to and be a breeze to update, thanks to apt.

Drupal 6.0 Released

After one year of development we are ready to release Drupal 6.0 to the world. Thanks to the tireless work of the Drupal community, over 1,600 issues have been resolved during the Drupal 6.0 release cycle. These changes are evident in Drupal 6's major usability improvements, security and maintainability advancements, friendlier installer, and expanded development framework. Further, from bug fix to feature request, these issues follow-through on the Drupal project's continued commitment to deliver flexibility and power to themers and developers.

Some really neat features, like OpenID in core, actions and triggers, easier and more powerful theming, batch API and command line control. Nifty! Maybe I'll play with it next week and see how image.module is doing.

Image Module Now Creates Galleries Using Views

You might be interested to know about a new view type that's now included in the image module: an image gallery view for image nodes.This is in the latest 5.x-2.x-dev release of image. Existing galleries and blocks are reimplemented as views.

Nifty, I was waiting for this. There's even very detailed documentation on using the image module and views in Drupal to generate your galleries. Link to the CVS commit of the image module using views for galleries.

Syndicate content