June 2010

Creating a Photo Gallery from Flickr using Feeds, CCK and Views

In this tutorial, I'll show you how I created my photo gallery which uses photos imported from my Flickr account.

The modules that I'll use to create the Gallery are:

10 Useful Drupal 6 Modules that I use on every Project

Aside from the obvious candidates such as Views, CCK etc, here are a list of 10 contributed modules that I currently use on each Drupal project.

So, in no particular order:

Creating a Block of Social Media Icons using CCK, Views and Nodequeue

Recent work means that I'm a bit later posting this than I originally intended...

I recently decided that I wanted to have a block displayed in a sidebar on my site containing icons and links to my social media profiles - Twitter, Facebook etc. I tried the Follow module, but it lacked the option to add extra networks such my Drupal.org account, and my RSS feed. I started to create my own version, and then found this Blog post by Hank Palan.

I created a 'Social icon' content type with the body field removed, and with fields for a link and image - then downloaded the favicons from the appropriate websites to use.

Updated Navigation

I've done some re-structuring of the main navigation menu:

Improving Imagecache JPG quality

Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren't as high a quality the originals on my Mac. I did some searching online and found out that, by default, Drupal resamples uploaded jpgs to 75% of their original quality.