How To Create an Image Gallery in Drupal ?

  0 comments
Share

Most of the times you need image gallery to show images in a better way. Here we are going to create Image Gallery in a simple way. For this you will need:

  1. Multi-upload File Field Widget
  2. Multi-upload Image Field Widget
  3. Colorbox

First enable these modules listed above. Once you enable the above module,then follow below steps:

  1. You need to create a "Content Type", for ex: "Image Gallery".
  2. You have to create an image field inside this content type.
    1. Choose "Image" as the field type and "Multiupload" as the widget type.
    2. Set the number of allowed values for this field to "Unlimited".
  3. Create some image presets (admin/config/media/image-styles), such as:
    1. Gallery Thumbnail (150px x 150px) - used on the gallery page to list the images in that gallery.
    2. Gallery Full Size (950px x 850px) - used in an overlay when Gallery Thumbnail images are clicked on.
  4. Create Views to list the galleries and link each item in the list to its corresponding gallery. Add image field and do Gallery setting for that.

Image gallery

Now you are ready to check you Image Gallery. Add node for "Image Gallery" and see images in you Image gallery Views.

Add new comment