O'Reilly logo

Drupal 7 Module Development by Ken Rickard, John Wilkins, Larry Garfield, Matt Butcher, Greg Dunlap, Matt Farina

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Images in Drupal

Just as the contributed Filefield module largely handled file handling in Drupal 6, two modules Imagefield and Imagecache, largely handled image handling. Imagefield was used for attaching images to nodes, and Imagecache was used to create derivations of those images by resizing or cropping them. This was very popular for things like creating square thumbnails in a grid for image galleries. The functionality of both modules has been brought into core for Drupal 7, along with an improved API for managing this functionality from code.

Image API

The Drupal 7 Image API provides a variety of functions to manipulate images. By default, Drupal uses the GD image management library that is included with PHP. However Drupal also offers the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required