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 Justified Gallery


Plugin that allows you to show your Flickr photostream, photosets, galleries, group pools, or tags in your blog, with a very elegant and awesome layout.

Create a gallery with the same style of Flickr or Google+! Awesome thumbnails disposition with a justified grid, calculated by a fast javascript algorithm called Justified Gallery! You can configure the height of the rows to have a grid that can be like the justified grid of Flickr or of Google+. But, you can do more! For example you can configure the margin between the images, create rows with fixed height, or decide if you want to justify the last row or not!

You can also configure a gallery to show photos with a link to Flickr or with a Lightbox (Swipebox or Colorbox).

Always high quality thumbnails! The plugin chooses the right resolution for the images, using the “Flickr size suffixes”, no small images are resized to be bigger and no big images are resized to be smaller! You can create gallery with very large thumbnails!

Remember that this plugin is not an official Flickr® plugin, any help will be greatly appreciated.


  • A gallery with the same layout of Flickr or Google+, configurable as you want.
  • Fast and light. Also uses a cache to load galleries instantly.
  • You can show photos from your Flickr photostream, from a photoset, from a gallery, or from a group pool.
  • You can show all the photos that has some tags.
  • You can create multiple galleries with different settings, also in the same page.
  • Customisable image sizes, always with a justified disposition.
  • Photo titles shown when the mouse is above.
  • Decide if use a lightbox (Colorbox or Swipebox) to show the original photo, or Flickr.
  • Customisable style, you need just to change a CSS.
  • Pagination with SEO friendly URLs. Decide if you want to show the newer photos or not.
  • Available in English and Italian

Live Demo

See a Live Demo in Miro Mannino’s Blog


  • A typical photostream
  • A photostream with more pages
  • The captions


  1. Upload the folder flickr-justified-gallery to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin settings through the ‘Settings > Flickr Justified Gallery’ page.
  4. Remember to set also the API key and the default User ID
  5. Create a page with the shortcode [flickr_photostream] to show the specified user photostream (you can add attributes in the shortcode, to show set, gallery or simply to have settings that are different than the default).
  6. (optional) If you want to use Colorbox, install a Colorbox plugin (i.e. JQuery Colorbox). Then, check the settings the lightbox option.


Installation Instructions
  1. Upload the folder flickr-justified-gallery to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin settings through the ‘Settings > Flickr Justified Gallery’ page.
  4. Remember to set also the API key and the default User ID
  5. Create a page with the shortcode [flickr_photostream] to show the specified user photostream (you can add attributes in the shortcode, to show set, gallery or simply to have settings that are different than the default).
  6. (optional) If you want to use Colorbox, install a Colorbox plugin (i.e. JQuery Colorbox). Then, check the settings the lightbox option.
Can I have in the same blog two photostream of different Flickr’s users?

Yes, use the shortcode attributes called user_id. For example the shortcode [flickr_photostream user_id="67681714@N03"] displays the photostream of the specified user, no matter what is the default user ID specified in the settings.

Are the photos synchronised with Flickr?

Yes, of course. But remember that the cache (and also Flickr) doesn’t allow to see the changes immediately.

Why I can’t see the last photos I uploaded?
  • Probably because they aren’t public: Flickr Justified Gallery can’t show private photos.
  • Remember that Flickr Justified Gallery uses a cache to speed-up your site, and the new photos are not immediately available, but only after few hours.
API Key is not valid?

If you are sure that the API key is valid, there could be many other reasons, related to communication
problems with Flickr.

  • Try an alternative version of phpFlickr, choosing it from the settings page
  • Be sure that CURL is installed in your server
  • Verify that the CURL certificate is properly installed in your server to communicate via https with CURL
  • Be sure that your server can perform CURL calls to Flickr (the server may be configured to work only )
  • Update CURL to the latest version
The web service endpoint returned a “HTTP/1.1 403 Forbidden” response

This question is another effect of the same problems related to the previous question

  • Be sure that CURL is installed in your server
  • Be sure that php5-curl is installed and active in php.ini
Why don’t Colorbox or Swipebox work?

You have to provide Colorbox or Swipebox with other plugins. For example:

Why aren’t the set, gallery or photostream ordered as I would?

The photos are showed in the same order they are returned via Flickr. Verify the order using the
official Flickr’s API page:

The images are opened in the Lightbox and immediately the page is redirected

If you have installed WP Slimstat, you need to exclude the images of the gallery to the WP Slimstat settings, filtering the class jg-img.


ግንቦት 19, 2020
I just wanted a nice, simple plug-in to make a page on my blog with my Flickr Photostream, in a nice layout and with the titles. This plugin meets my needs quite well, was easy to set up, and works great. Unfortunately, it appears to be abandoned, so alas, I will have to find a replacement at some point. 🙁
ሚያዝያ 14, 2019
This plugin has been running flawlessly on a client site since 2013, with no problems what so ever. Works fine even with WordPress 5.1.1. Thanks!
መስከረም 24, 2018
One of the best Flickr plugins out there, and it's even free.
ግንቦት 1, 2018
Normaly i would rate 5 Stars because its really easy, but as there is no button and i need to copy it from the settings page all over again the code, i can not give 5 Stars at all.
መስከረም 23, 2017
I simply wanted to show the latest images from my flickr photostream and this plugin did it without fuss. Thanks!
ሓምለ 18, 2017
Sou usuário frequente do Flickr para hospedagem de imagens, e este foi o único plugin que funcionou satisfatoriamente e corretamente na exibição de fotos diretas do Flickr. Excelente!
Read all 59 reviews

Contributors & Developers

“Flickr Justified Gallery” is open source software. The following people have contributed to this plugin.


“Flickr Justified Gallery” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Flickr Justified Gallery” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Changed the way scripts are added to the page using the standard WordPress functions wp_enqueue_style and wp_add_inline_script. This solves errors in case jquery is added at the footer, unless another plugin (or the theme) adds it again in a wrong way.


  • Fixed problems with the new versions of jQuery and Swipebox
  • Updated Swipebox to 1.4.4
  • Updated Colorbox to 1.6.4


  • Fixed error when the right click is blocked
  • Fixed error with Colorbox that showed “undefined”
  • Colorbox updated to 1.6.3
  • Swipebox updated to 1.4.1


  • Scripts on bottom (for performance and compatibility)
  • Settings help update
  • Justified Gallery 3.6.0
  • Fixed XSS security vulnerability


  • Fixed the provide Colorbox/Swipbox bugs in settings


  • Fixed links for sets
  • Fixed problems with settings that may generate some errors.
  • Justified Gallery 3.5.4


  • Fixed problems with lightboxes
  • Fixed problems with large thumbnails for user that uploaded in Flickr high quality images.


  • Possibility to have descriptions
  • Justified Gallery 3.5.1
  • Fixed some errors in the small tutorial in the setting page


  • Possibility to provide the lightbox libraries
  • Fixed some problems with lightboxes


  • Justified Gallery 3.5
  • Removed Swipebox to allow users to use the provided version
  • Prevent that multiple jQuery inclusions broke the gallery
  • Possibility to choose alternative wrappers for the Flickr’s API in case of problems
  • Name changed to avoid


  • Try to fix errors in phpFlickr


  • Now is possible to use the tags option in the [flickr_group]
  • Fixed the errors with WP_DEBUG enabled in WordPress
  • Improved the option that disables the context menu
  • Revert phpFlickr to the nextend version put in 3.1.2
  • Spanish translation


  • new option to disable the right click
  • phpFlickr 3.1.1


  • nextend version of phpFlickr to solve the keys problems
  • Fixed ‘No photos’ with tags
  • Fixed links to Flickr for sets
  • Justified gallery 3.2


  • Justified gallery 3.0
    • Less images crops
    • Faster load (rows appear when are ready)
    • No more white spaces when the images are loading
  • Randomize order
  • Capability to show the original images in the lightbox


  • pagination style workaround for themes that use ‘pre’ tags
  • workaround for a swipe box bug, when there are more than one justified gallery in one page
  • pagination settings error (changed the behaviour for those people that founded usage problems)
  • changed the available size behavior. Some Flickr images is very very huge! Now it try to show the large size image in the lightbox, it this is not available try to show the original image, and if this is not available show the medium size. Unfortunately, Flickr doesn’t store very large sizes (only the original).
  • fixed some bugs with tags


  • removed the setting ‘use large thumbnails’: founded a way to determine it automatically
  • fixed the links with original photos


  • now it works with Photon.
  • fixed errors for those that don’t have large image in flickr (added the ‘use large thumbnails’ option).
  • now the links display the original pictures and not the large ones, this improve the quality and the compatibility.


  • Group pools
  • Tags
  • New shortcodes, due to the number of functionalities: photostream, group, tags, set, and galleries.
  • Now one can use the Colorbox or the Swipebox lightbox
  • Standard WordPress pagination
  • Pagination with prev and next links, or with page numbers
  • Performance improvements, reduced the numbers of calls to the Flickr server.
  • Justified Gallery updated to version 2.0


  • Sets
  • Galleries
  • Some performance improvements
  • New settings UI style
  • Some bugs fixed, thanks to nammourdesigns.
  • New error detection system, now it’s easier to find the wrong settings
  • pagination settings has been changed, to be more understandable
  • Justified Gallery updated to version 1.0.4


  • updated Justified Gallery to version 1.0.2


  • Now the plugin uses the Justified Gallery JQuery plugin to build the justified layout.
  • Corrected some bugs in the default settings


  • Algorithm improved, faster and now Internet Explorer compatible
  • Added captions
  • Now, you can add multiple instance on the same page
  • Now, the CSS rules force the scrollbar to be always visible, this to prevent loops
  • Fixed some errors
  • Usability improved


  • Deleted the custom Lightbox. Now, to use a lightbox, you need to use a plugin that enable colorbox.
  • Added error message if the plugin doesn’t find a plugin that enable colorbox.
  • Added a loading phase to show the images directly in a justified grid.
  • The images fade-in only when they are completely loaded.
  • Simplified the settings page.
  • Fixed an issue of the “IE8 or lower error message” in case of multiple gallery per page.


  • Optional Lightbox
  • Option to use or not the pages
  • Support for multiple gallery instances
  • All options is now “default options”, every instance can have different options
  • Now, you can have different instances that show different user photostreams


  • Justified grid algorithm disabled for IE8 or lower
  • Error message for IE8 or lower
  • Fixed some css issues
  • Speed improvements to the images loading


  • First version