Here is a patch to version 1.9 of gallery.module (current cvs version). This patch does 3 things:

  1. Ensure image type selection works (see http://drupal.org/node/31398)
  2. Allow for multiple images in the block via checkboxes.
  3. Use Gallery2 naming for Image Types

The allowance of mulitple images in the block is as in the old gallery.module -- not sure why it was changed, but I prefer to have more than one image in the block. There is a check made to see if anything was selected. If not it quietly defaults to randomImage.

Note that you may get an error the first time you use this as the gallery_block_block_0 variable is now an array. Just go back into the config page, select the images you want and save it. It should then work.

CommentFileSizeAuthor
#2 patch_12.txt3.42 KBdarius
gallery.module.kjp.diff2.99 KBkiz_0987
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexandreracine’s picture

Status: Active » Needs review

Someone wants to try that? :)

darius’s picture

Title: Image Type Selection patch » Image Type Selection (updated) patch
FileSize
3.42 KB

Hello,

I updated this patch to the right format and the latest CVS version 1.11. It works. These are small changes and it would be nice to see them committed.

Darius

walkah’s picture

Status: Needs review » Fixed

committed to CVS. thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)