Image Upload

Categories

Component ID

303624

Component name

Image Upload

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

8871

Component created

Component changed

Component body

Note: This is end of lifed for Drupal 7, due to superior solutions landing in core.
No reason to use this instead of imagefield in Drupal 6, this module was written because imagefield wasn't yet ported back in the day...

Image Upload is an image module for Drupal based on the upload module and inspired by the imagefield module.

Features

  • AJAX upload and removal of images
  • Thumbnail generation
  • Categories
  • Previews
  • Lightbox2 integration
  • Views2 integration (requires views 6.x-2.0-rc2 or later.)
  • NOTE: If you want lightbox2 integration in views, be sure to select the " Link this field to the full image." option!

    Images are added as $node->images[FILE ID], and have a term_name property which you can use.

    For example, for displaying a "Default" category, you can use

foreach($node->images as $fid => $image) {
  if($image->term_name == 'Default') {
    echo $image->img_html; // HTML for the image thumb, when clicked shows the full image (uses lightbox2 if available)
  }
}

Sponsored by:
Brakkar
http://galerie-melki.fr