Image Upload

bojanz - September 3, 2008 - 19:11

Note: Looking for a co-maintainter, if anyone is interested to take this on.

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

    <?php
    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

    Like this module? Tip me!

Downloads

Version Downloads Date Links
6.x-1.2 Download (17.64 KB) 2009-Jan-07 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.