- Drupal 6.x
- Flickr API key (apply for a Flickr API key).
Flickr API wrapper. Does not provide a user interface on its own, but offers a framework for contrib modules to leverage Flickr API. Provides PHP implementation for Flickr's RESTful image and album search, acquisition, meta information, and manipulation functions.
Implements a filter syntax for including flickr images in filtered text. For example, "[flickr-photo:id=230452326,size=m]" generates an <img> tag for flickr photo 230452326 with medium size.
Provides a CCK field for flickr images. Editors can insert a flickr photo id and user id to add flickr images as fields.
Implements various blocks to expose flickr images on your site. For example, "recent flickr photos", "random photos", or "user page recent photos".
Adds a basic user-based flickr set implementation and theming functions for flickr sets (albums).
Adds basic user-based tag list, tag cloud, and tag theming functions for flickr tags.
Image Attach-like implementation for flickr. Allows admins to assigns a flickr image as a property of the node. Will be deprecated in favor of Flickr Field in Drupal 7.x.
Installation and configuration
- Download Flickr module to your modules directory (DRUPAL-ROOT/sites/all/modules, DRUPAL-ROOT/sites/default/modules, DRUPAL-ROOT/sites/example.com/modules, etc).
- Enable Flickr module and any other components at http://example.com/admin/build/modules
- Configure the Flickr API Key http://example.com/admin/settings/flickr
- Update permissions http://example.com/admin/user/access
- Optional, as applicable
- Add the flickr filter to one of your input formats by following the configure link http://example.comadmin/settings/filters
- Add a flickr field to applicable content types http://example.com/admin/content/types
- Add flickr blocks to appropriate regions and pages http://example.com/admin/build/block
- Enable Flickr Attach on applicable content types http://example.com/admin/content/types
- Forgetting to configure flickr. Please obtain your Flickr API key and configure Flickr module at admin/settings/flickr. Otherwise, you'll get warnings and notices and errors like "Flickr error 1: User not found" and "Flickr error 2: Unknown user".
- Using your flickr username instead of your flickr user id. In flickr settings (admin/settings/flickr), you need to input your flickr user id (that is, an ID of the form 12345678@N90). idGettr is a handy site if you're having trouble finding your flickr user id. If you have configured flickr but get errors like "Flickr error 1: User not found" and "Flickr error 2: Unknown user", this may be the cause.
- No photos or sets exist. Flickr will throw errors like "Flickr error 1: Photo not found", "Flickr error 1: Photoset not found", or "Flickr error 3: Parameterless searches have been disabled." unless you have uploaded some images to flickr.
- No public photos or sets exist. Flickr module only offers support for public photos. It is possible to use Flickr API with private photos, but Flickr module developers do not with to support the feature (see #116586: Private Photos).
- Others: please review the Flickr module issue queue.