scotthowe.com - oracle, mssql, and general systems administration blog...

  • my portfolio
  • my code-projects
  • xml sitemap
  • contact
Home

Navigation

  • Recent posts

Primary links

  • My Portfolio
  • My Code-Projects
  • XML Sitemap
  • Contact

Flickr recent photos

Swimmerafterbathcheeriosdirtyclothes

User login

  • Create new account
  • Request new password

Configuring Flickr and LightBox2 Drupal Modules

scott — Mon, 06/23/2008 - 20:33

I recently migrated from a homemade website to the drupal content management system (CMS). It has been a great experience thus far. Drupal is feature rich but doesn’t clutter up the interface by default. It's extensibility comes in the form of modules which are written by endusers and enthusiests.

One of my biggest concerns with the CMS was how I could imbed images. For this task I implemented the modules 1Lightbox2 and 2Flickr.

The installation went as follows:
1. Downloaded the tar.gz’s for each of the modules in addition to the 3Content Construction Kit (CCK)

2. Extracted out the files into their separate folders within the module folder of drupals install base.

3. Logged into my sites administration control panel and went to Site Building -> Modules. Enabled all of the CCK, LightBox2, and Flickr related modules.

4. Went back to the administration control panel and went to Site Configuration -> Input Formats. I choose to create a new input format in which to enable the different lightbox/flickr filters. You might want to configure one of the existing ones such as “Filtered HTML” so that it has it as well.

5. One final trip back to the admin page to configure flickr’s module under Site configuration -> Inpur Formats. From here you can follow the link to setup your api key and shared secret for communication with flickr’s site.

6. When I create new content I simply add: “[flickr-photo:id=230452326,size=m]” and it inserts the image. By default LightBox2 creates the links and grabs the alt as a caption.

Flickr is still in development for drupal v. 6 and it shows in some of the areas. I ran into one particular problem when configuring some of the block features. It seems that once you have removed a block and readded it the error message "Flickr error 1: User not found" persists until you remove the block. The work around I found was to configure both user id as the default as well as manually entering it within the blocks configuration.

Good luck and have fun!

  1. 1. http://drupal.org/project/lightbox2
  2. 2. http://drupal.org/project/flickr
  3. 3. http://drupal.org/project/cck
  • drupal
  • Login or register to post comments

Search

External Links

  • Richardfoote.wordpress.com
  • xkcd.com

Photo Galleries

  • 08 Spring Flowers
  • Baby Matthew
  • my portfolio
  • my code-projects
  • xml sitemap
  • contact