Creating a Photo Gallery in Drupal |
| November 16, 2010 |
Creating a photo gallery is the same as with most things in Drupal: there are many different ways to reach your goal. In this tutorial we're going to show you the quickest and easiest way: using the Node Gallery module. Install Node Gallery![]() In order to install Node Gallery, we'll need to download and install four different modules:
Upload those module folders to /sites/all/modules/ and then go to Administer >> Site Building >> Modules to enable them. Create the Photo Gallery![]() In your Drupal site, click Create Content >> Gallery. ![]() You'll be prompted to set up a node, just as per normal. The only difference is that this node will serve to hold all your photos in a particular gallery. When you've given a name and description for the photo galley, click Save. ![]() You'll now be taken to the finished node. Click on "Upload Images" you'll be prompted to do just that. ![]() Once you've selected the images, click "Submit Images". ![]() When you're finished, the node will look like the screenshot above. If you click on the photos, you'll see a screenshot like the one below with large versions of the image plus Previous / Next buttons. ![]() Gallery Layout![]() Node Gallery will also automatically create a menu link to a list of all the galleries. Configuring Node Gallery![]() The sizes and modifications performed on all the images are controlled by the ImageCache module that we uploaded earlier. Go to Administer >> Site Building >> Blocks and you'll see three different options:
ImageCache uses these presets to automatically create the cover images, main display images and the thumbnails. If you click on "Edit" you can change the size of all these defaults. More settings are also available from Site Configuration >> Node Gallery |
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright © 2012 Open Source Training, LLC. All rights reserved.
Comments
its wrkng bt for anonomeous user it is not showing any link to open gallery plz suggest me something wht to do wth this
Have you gone to User Management >> Permissions and given them access to the see the Node Gallery?
Can you try using the Webdeveloper toolbar for Firefox. That has a "Find Broken Images" link that will help you to see where Drupal is looking for the photos.
Can anyone help tell me how to fix this problem?
RSS feed for comments to this post