This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Flickr field for Advanced Custom Fields


The Flickr Field will grant you the ability to include photos, sets and galleries from your Flickr account. After selecting which image formats you wish to use the plugin will generate the flickr image urls. This plugin is an add-on for the Advanced Custom Fields WordPress plugin (v4 and v5).

This plugins also grants you the ability to enable “Private Mode”. Here you have to authenticate your account and generate a token which you can use to access your own private pictures. These private pictures are not available for the public on your account.

See the installation and/or screenshots tab for more info.

Looking for a clean and very easy to setup lightbox? I recommend Easy Fancybox:


  • Setting up the field
  • Selecting a photo set
  • Selecting individual photos from your photostream


  1. Make sure you have Advanced Custom Fields v4 or v5 installed. Get it at
  2. Upload the flickr field directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Usage Example (in PHP):

Getting the contents of a photostream and looping through the results

$flickr_photostream = get_field(FIELD_NAME);

if (isset($flickr_photostream['items'])) {
    foreach ($flickr_photostream['items'] as $id => $photo) {
        echo '<a href="' . $photo['large'] . '" title="' . $photo['title'] . '"><img src="' . $photo['thumb'] . '" /></a>';

Getting the contents of a set and looping through the results

$flickr_set = get_field(FIELD_NAME);

if (isset($flickr_set['items'])) {
    foreach ($flickr_set['items'] as $id => $photos) {
        foreach ($photos as $photo) {
            echo '<a href="' . $photo['large'] . '" title="' . $photo['title'] . '"><img src="' . $photo['thumb'] . '" /></a>';

Contributors & Developers

“Flickr field for Advanced Custom Fields” is open source software. The following people have contributed to this plugin.




  • Added seperate caching for the admin loading of flickr data. You now have a setting for front-end caching and admin (back-end) caching.


  • You can now (optionally) use constants for flickr api key, secret and api token (for private mode). This could be useful in a multisite environment.


  • Added Private Mode – you can now enable a mode where you can display private photos from Flickr (those that are not publicly available)


  • Added possibility to set your own cache dir location with constant FLICKR_FIELD_CACHE_DIR


  • Added feature so that you can control the amount of images that will be loaded in a photoset


  • Small bugfix to get rid of notification


  • Added feature to limit the maximum selectable amount of sets/photos


  • Added possibility to display original format of the photo


  • Fixed a bug where you could not deselect the flickr item and save correctly


  • Fixed a bug where you could not include two flickr fields on the same post


  • Updated Flickr Field to work with ACF5 most recent API changes


  • First version of the plugin.