Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Add a Flickr Widget in WordPress (The Easy Way)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Recently, some of our readers have been asking us how they can improve their online photography businesses.

Adding a Flickr widget to your WordPress site is a great way to show off your photos and videos without much effort.

Not only that, but displaying Flickr content can also keep things interesting for your visitors. This feature can help grow your Flickr following, too.

It’s a win-win situation for both your website and your Flickr account.

In this guide, we will walk you through the simple steps to add a Flickr widget to your WordPress site.

How to add a Flickr widget in WordPress

How to Add a Flickr Widget in WordPress

The easiest way to add a Flickr widget in WordPress is by using Photonic. This plugin lets you show content from lots of different websites and platforms, including Google Photos, SmugMug, and Flickr.

To show content from Flickr, you’ll need an SSL certificate. If you need help, then please see our guide on how to get a free SSL certificate for your WordPress website.

Once you do that, you’re ready to install and activate the Photonic plugin. You can see our guide on how to install a WordPress plugin for step-by-step instructions.

Upon activation, you’ll want to head over to Photonic » Settings. You can then go ahead and click on the ‘Flickr’ tab.

Photonic's Flickr settings

The next step is to click on the ‘Flickr settings’ link.

To get started, you’ll need to connect Photonic to your Flickr account by creating an API key and secret. To get this information, you’ll need to create an app on the Flickr website.

Creating an app sounds technical, but don’t worry. You don’t need to know any code, and we’ll walk you through every step.

Now, it’s smart to create the key and secret in a new tab so you can easily switch between the Flickr website and your WordPress dashboard.

In the new browser tab, you can visit the Flickr API page. On this page, simply click the ‘Apply for your key online now’ link.

Creating a Flickr app

You can now type in the email address and password that you use for your Flickr account.

Once you’re logged into your account, you’ll need to let Flickr know whether you plan to use the Flickr widget for a commercial or non-commercial project.

If you’re creating a personal WordPress blog or small business website, then you can click on the ‘Apply for a non-commercial key’ button.

Creating a commercial or non-commercial Flickr project

On the next screen, you’ll need to name your app by typing it into the ‘What’s the name of your app’ field. Note that your site visitors won’t see the name; it’s for your own reference only.

There is also a ‘What are you building’ text field where you can tell Flickr how you’ll use the app.

Creating a Flickr widget for WordPress

After typing in all of this information, it’s a good idea to read Flickr’s terms and conditions carefully. If all is well, then you can click on the ‘Submit’ button.

Flickr will now show an API key and secret that you can use to connect the Flickr website to the Photonic app.

Simply copy the key and secret and then switch back to your WordPress dashboard. You can now paste these two values into the ‘Flickr API Key’ and ‘Flickr API Secret’ fields.

Adding the Flickr API key and secret

After that, you’ll want to scroll to the bottom of the screen and click the ‘Save page Flickr settings’ button.

At this point, Photonic will have access to the Flickr website. So, the next step is giving the plugin permission to access your Flickr account.

To do this, you can go to Photonic » Authentication from your WordPress dashboard. Then, go ahead and click the ‘Login and get Access Token from Flickr’ button.

Adding an access token to WordPress

This will take you to a screen where you can type in your Flickr username and password.

Once you’ve done that, just click on ‘Sign in.’

The Flickr's website sign in page

Flickr will now show some information about the actions that Photonic can perform and the data it can access.

If you’re happy to grant Photonic these permissions, then you can click on the ‘OK, I’ll authorize it’ button.

Giving Photonic access to Flickr

After clicking on this button, you’ll be sent back to the WordPress dashboard automatically.

On the following screen, you’ll see the new ‘Access Token’ and ‘Access Token Secret’ information. To add these tokens to Photonic’s settings, simply click the ‘Save Token’ button.

A Flickr access token

WordPress will now take you to Photonic’s settings area, where the ‘Access Token’ and ‘Access Token Secret’ have already been pasted into the right fields.

After that, you’ll need to configure a few more settings.

To do this, you may want to set a default user. Photonic lets you show content from your personal Flickr account or any other public account.

In the following sections, we will show you how to display different Flickr accounts when creating the Flickr widget.

However, you may want to set up a default account first. For example, if you only plan to show content from your personal Flickr account, then setting it as the default can save you time. You can always override this setting if you need to.

To set a default user, open a new tab and then head over to the Flickr account that you want to use. You can then copy the URL in your browser’s address bar, which should be something like ​​https://www.flickr.com/photos/username/.

Now, you can switch back to your WordPress dashboard and paste the Flickr URL into the ‘Default user’ field.

Setting a default Flickr username

Once you’ve done that, you can customize how Photonic shows the content inside your website’s Flickr widget.

To get started, you can click on the ‘Media to show’ dropdown and choose whether to show photos only, video only, or both photos and videos.

Choosing the Flickr media to show

After that, you can choose how big the thumbnails will appear in your Flickr widget.

When a visitor arrives at your site, Photonic will show a thumbnail preview of all your images and videos, as shown in the following image:

Flickr thumbnail previews on a WordPress website

Visitors can see a larger version of each image or video by clicking on its thumbnail.

Photonic has a few different layouts, but the following image shows an example of how the larger versions may look on your website.

An example Flickr slideshow

To change the size of the thumbnails, open the ‘Thumbnail size’ dropdown and choose a value from the list.

Next, you can choose the image size that appears when the visitor clicks on a thumbnail. To do this, just open the ‘Main image size’ dropdown and then choose a size from the list.

Changing the image size

Are you planning to show videos in your Flickr widget? Then, you’ll need to open the ‘Video size’ dropdown and choose how big the video lightbox will appear on your website.

A lightbox is simply a popup window that shows the video content, similar to a video player. While the lightbox is open, visitors won’t be able to interact with the rest of the page.

The video lightbox settings

There are some more settings that you may want to look at. However, this should be a good start for most WordPress websites.

When you’re happy with the information you’ve added, you can scroll to the bottom of the screen and then click the ‘Save page Flickr Settings’ button.

Now that you’ve configured the plugin, you can add a Flickr widget to any post, page, or widget-ready area.

For this example, we’ll show you how to add it to a page or post, but the steps are similar for any widget-ready area.

To start, simply open the page or post where you want to add the Flickr widget. Here, click on the + icon and then type ‘Photonic Gallery’ to find the right block.

The Photonic Gallery block

Once you click on the Photonic Gallery block, it will add the block to your website.

After that, go ahead and click on ‘Add Photonic Gallery.’

The Photonic Flickr block

This will open a popup where you can choose where Photonic should get its images and videos from, such as Instagram or Google Photos.

Note: Want to set up an Instagram gallery on your website? We recommend the Smash Balloon plugin because it’s easy to use and powerful.

For more details, see how to create a custom Instagram photo feed in WordPress.

Since we want to add a Flickr widget in WordPress, let’s click ‘Flickr’ and the ‘Next’ button.

Choosing the media source

You can now open the dropdown menu and choose the type of content that you want to show.

This could be a single photo only, multiple photos, or even entire Flickr albums, image galleries, or collections.

Configuring the Flickr block

After choosing an option, you’ll need to specify the Flickr account from which Photonic should get the content.

The easiest option is to get the photos or videos from the default username you added to the Photonic settings. To do this, simply click on the ‘Current user’ radio button.

Using the default username

Want to show content from a different Flickr account? Then, you should choose the ‘Another user’ radio button instead.

This will add a new field where you can paste the URL of the Flickr account that you want to use.

How to configure the Flickr Photonic block

Another option is to show images and videos from a Flickr group. To do this, simply click on the ‘Group’ radio button.

Then, in a new tab, you can head over to the group that you want to use. You’ll copy the URL, which should look something like https://www.flickr.com/groups/group-name.

Once done, switch back to the WordPress dashboard and paste the URL into the ‘Group name’ field.

The Flickr group name settings

After choosing an option, go ahead and click on the ‘Next’ button.

On the next screen, you’ll see a preview of all the different images and videos that Photonic will show in your Flickr widget.

If you don’t want to show all these images and videos, then you can filter the content based on how it’s tagged on Flickr.

In the ‘Tags’ field, simply type the tags that you want to use. If you want to use multiple tags in your filter, then you’ll need to separate each tag with a comma.

Filtering images and videos using tags

Now, Photonic will only show images and videos that have these tags.

If you type in more than one tag, you’ll need to choose whether to show all the media with one of these tags or only the media with all of the tags.

To do this, open the ‘Tag mode’ dropdown and click on either ‘Any tag’ or ‘All tags.’

Filtering images and video using tags

Just be aware that the thumbnail previews on this page won’t update automatically. If you make any changes, the preview may not show the images and videos that will be included in your finished Flickr widget.

When you’re happy with the changes you’ve made, click on ‘Next.’

On this screen, you’ll see all the different layouts for the Flickr widget, such as ‘Square Grid’ and ‘Slideshow.’

Simply click on the layout that you want to use and then click on the ‘Next’ button.

The different Photonic layouts

Then, you’ll see some settings that you can use to customize how the images and videos are displayed in your Flickr widget.

You may see different settings depending on your chosen layout. For example, if you’re using a ‘Circular Icon Grid’ or ‘Square Grid’ layout, then you’ll be able to decide how many columns to include in the Flickr widget.

The Circular Flickr widget layout

Meanwhile, if you’re using a Slideshow layout, then you’ll need to choose whether to show the thumbnails above or below the slideshow.

Once you’re finished reviewing your layout settings, go ahead and click on the ‘Next’ button.

The Flickr slideshow layout

The popup will now show the code that it will add to your website. When everything looks great for you, you can click the ‘Next’ button.

Photonic doesn’t show Flickr content inside the post editor, so you’ll need to click on the ‘Preview’ button to see how the widget will look to the people who visit your website.

Previewing the Flickr widget

Once you’re happy with how the Flickr widget looks, you can go ahead and update or publish this page as normal.

And that’s it! We hope this article helped you learn how to add a Flickr widget in WordPress. Next, you can also go through our guide on how to automatically add a watermark to images in WordPress or ways to prevent image theft in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

3 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Jasper Frumau says

    This Quick Flickr Widget plugin has not been updated in ages and no longer works properly.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.