Drupal Learning Journal 9. "Using Drupal" – Chapter 7 – Photo Gallery

Chapter 7 of Using Drupal explains the details of building a Photo Gallery. As mentioned in the previous post Drupal 7 has pretty good image handling in the core, so some of the things I learned here are immediately obsolete. (Except that there are a lot of Drupal 6 sites out there.)

  • I used ImageField module in the past, without really knowing that this is the one that allows uploading images to CCK. (page 233) It is part of Drupal 7 core now!
  • The ImageCache module automatically resizes images and cache them for later use. (page 233) It is part of Drupal 7 core now!
  • I liked the idea of using taxonomy’s tags as the main organizing tool for the photo gallery. (page 241)
  • Knowing the
    print imagecache_create_url(‘my_preset’, $path) and the
    print theme_imagecache(‘imagecache’, ‘my_preset’, $path, $alt, $tite, $attribution)
    lines of code will come handy when I will understand how to use them after reading chapter 11. For now I just make a note that this is what I will need to use for displaying an image. (page 251)
  • The Custom Pagers module “allows administrators to define context-sensitive previous/next pagers for any node type.” You need to use the [term] in the title and the [term-id] token in the arguments area of the settings to create the previous/next buttons. (page 265) Version for Drupal 6 is still in beta. There is a discussion about a Drupal 7 version, but currently it is incomplete.
  • Additional, potentially helpful modules are (page 267):
    – The Community tags module allows members of the community to tag content, and tracks who tagged what and when. (Drupal 6 is in beta and there is no Drupal 7 version.)
    – The Tagadelic module allows the creation of tag clouds. (A preliminary Drupal 7 exists.)
    – The Taxonomy Redirect module allows the administrator to change the destination of Taxonomy Term links. (No reply yet for asking about Drupal 7 version.)

As you may have noticed in the last few entries in this series I rarely write down any specific configuration tips. That’s because as I read the book they seem so straightforward. No need to do so as that’s the kind of thing I believe I will be able to follow/figure out as I work through the usage of these modules when I need them.

Leave Comment

Your email address will not be published. Required fields are marked *