FLS Stock Photo Importer

Description

FLS Stock Photo Importer lets editors search selected royalty-free image providers from inside the post editor sidebar, import an image into the Media Library, and insert it into the current post.

Download Plugin

Supported providers:

  • Pexels (API key required)
  • Pixabay (API key required)
  • Openverse (API key optional)

Features:

  • Search and preview images in the editor
  • Import to Media Library (stored locally)
  • Insert into post content
  • Set as featured image
  • Stores provider/source metadata on the attachment
  • Optional, non-intrusive attribution line on insert (recommended)

External Services

This plugin connects to third-party image provider APIs to search for images and may download selected images to your Media Library.

When you search, the plugin sends:
– Your search query
– Pagination parameters (e.g. per-page)
– Your provider API key (for providers that require one)

Providers used by this plugin:

How to get your API keys:

1. Create a Pexels Account

Go to the Pexels website:

https://www.pexels.com

  1. Click Join (top-right corner).

  2. Sign up using:

    • Google

    • Facebook

    • Email

  3. Verify your email if required.

Once logged in you’ll see your profile icon in the top-right.


2. Go to the API Page

Open the developer page:

https://www.pexels.com/api/

You will see a “Get Started” button.

Click Get Started.


3. Create a New API Key

You’ll now see a page called Your API Keys.

Click:

Create New Key

You’ll be asked for:

App Name

Example you can use:

FLS Stock Photo Importer

Description

Example:

WordPress plugin to search and import stock photos into the media library.

Then click:

Create


4. Copy Your API Key

Pexels will generate something like: 563492ad6f91700001000001xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Copy it.


5. Add the Key to Your Plugin

Inside your WordPress admin:

Settings ->  FLS Stock Photo Importer

Paste the key into the Pexels API Key field and save.


6. Test the Connection

Search for something like:

mountains

If images appear, the API is working.

1. Create a Pixabay Account

Go to:

https://pixabay.com

  1. Click Join (top right).

  2. Register using:

    • Email

    • Google

    • Facebook

  3. Verify your email if prompted.

Once logged in, you’ll see your profile icon in the top right.


2. Open the Pixabay API Page

Go to the developer page:

https://pixabay.com/api/docs/

Scroll down until you see:

“API Key”

There will be a link saying:

“Sign up to get your API key.”

Click that.


3. Generate Your API Key

Once you click the link, Pixabay will automatically generate a key for your account.

It will look something like: 12345678-abcdef1234567890abcdef

Copy it.

Unlike Pexels, you do not create apps or projects — Pixabay simply gives you one key tied to your account.


4. Add the Key to Your Plugin

In WordPress:

Settings – >  FLS Stock Photo Importer

Paste the key into your Pixabay API Key field.

Save settings.


5. Test It

Search inside your plugin for something like:

nature

If images appear, the API connection is working.

1. Openverse API

Openverse provides a public API that allows applications to search millions of openly licensed images.

The FLS Stock Photo Importer plugin connects directly to the Openverse API to retrieve images.

Go Directly to : https://api.openverse.org/v1/

Copy the API inside the brackets and insert it into FLS Stock Photo Importer.