Simple Gallery

Last updated on
30 April 2025

This documentation is provided to assist in setting up a gallery using the Simple Gallery module starting with version 6.x-1.5.

Thanks to o0_Enigma_0o for the original extended documentation.

  1. Create a CCK content type to store images as nodes using ImageField.
    This can be done by going to Administer->Content Types and clicking the Add Content Type tab.
    The content type can be called anything such as "Image" or "Gallery Image".
    • Once created, add an image field to the new content type. This can be done by clicking manage fields for the new type and then selecting File as the field type and then Image in the drop down to the right. This field may be called whatever you wish, but remember what it is called as it will be needed below.
  2. Create a vocabulary and assign it to the newly created content type.
    Go to Administer->Taxonomy and click the Add New Taxonomy tab. This will be for the entire gallery so use something like "Gallery". Click add term to add individual albums.
  • After creating the new vocabulary, click edit vocabulary, scroll down to the content types, and select the type of content it is to be used with. Select the content type created earlier.
  • Create a preset with ImageCache to define image thumbnails.
    Go to Administer->ImageCache and click the Add new preset tab. Name the preset as desired, and add a scale function and return to tweak it after setting up the gallery (setting a scale function with a width of 150 and the rest blank works well to start with).
  • Add terms as albums to your vocabulary.
    This has already been done in step 2, but feel free to add more albums as you see fit.
  • Create image nodes and assign them to album terms.
    Use the new content type to upload images, remembering to select an album in the list, which will be the same name as the taxonomy term created for the album.
  • Configure Simple Gallery based on what was done above.
    Go to Administer->Simple Gallery Settings.
    • Vocabulary - this was created in step 2. You may check the taxonomy and see what was added before.
    • CCK ImageField - This needs to be the name of the image field created in step 3.
    • ImageCache Preset - the name of the ImageCache preset, set in step 5.
    • Change the other setting based on preference and press save.

  • Access the gallery by visiting yoursite.com/gallery.
  • Hopefully this helps in getting a gallery setup with the Simple Gallery module with minimal complication and confusion.

    Help improve this page

    Page status: Not set

    You can: