Best WordPress Theme & Plugin For Photographers

Imagely Documentation

Documentation, Reference Materials and Tutorials for Imagely

How to Connect Instagram and Create a Gallery

Imagely’s Instagram integration builds a gallery from your own Instagram posts. You connect your account once, choose how many photos to pull in, and Imagely downloads them to your server. Because the images are stored locally, they work with every display type, lightbox, watermark, and proofing option; the same as photos you upload yourself.

Before you start

  • Instagram galleries require NextGEN Pro alongside NextGEN Gallery 4.3.0 or newer.
  • Instagram only allows apps to read media from a Professional account (Business or Creator). If yours is a Personal account, switch it in the Instagram app under Settings → Account type and tools, then come back.
  • Only photos are imported. Videos and Reels are skipped, and a carousel post contributes its first image.

Step 1: Enable the Instagram Feature

Go to Imagely → Features in your WordPress admin sidebar.

Find the Instagram card. If the button reads Activate, click it to turn the feature on. If it already reads Deactivate (as shown above), Instagram is ready to use – continue to Step 2.

WordPress admin dashboard showing a plugins grid with Google Photos, Instagram, and TikTok importers; Activate buttons visible for Google Photos and TikTok, and a Deactivate option for Instagram.

Step 2: Connect Your Instagram Account

Navigate to Imagely → Settings → Integrations and expand the Instagram card using the arrow on the right.

Click Connect to Instagram. You’ll be taken to Instagram’s own login and permission screen. Sign in with the account whose photos you want to use and approve the request. Instagram sends you straight back to the Integrations page when you’re done.

Imagely integration dashboard: left navigation menu and main panel showing Instagram connection with a green 'Connect to Instagram' button.

Tip: You can connect up to 3 Instagram accounts. The panel shows how many slots you’ve used, and each gallery picks one account to pull from.

Your account now appears under Connected Accounts, with the slot number and the date you connected it.


Step 3: Create an Instagram Gallery

Go to Imagely → Galleries and click Add a New Gallery.

Type a name for your gallery, then click the Instagram tile. Imagely creates the gallery right away and opens the gallery editor on the Images step.

Modal for adding a new gallery showing title field and multiple source options (Instagram highlighted). Background dashboard with left navigation panel.

Step 4: Choose Your Instagram Settings

The Images step holds every option that controls what Imagely pulls from Instagram.

Leave Default Settings selected to use the site-wide values (see Setting Defaults below), or choose Custom Settings to set them for this gallery only.

Setting What it does
Instagram Account Which connected account this gallery pulls from.
Number of Instagram Photos How many photos to fetch. Videos don’t count toward this number because they aren’t imported.
Overriding Link? What happens when a visitor clicks a photo: No link uses your lightbox, Original Page at Instagram opens the post on Instagram, and Direct Full Sized Image On Site opens the full-size image file.
Image Size Which WordPress image size the gallery displays, from Thumbnail up to Original Image.
Use Photo Title? Turn on to carry the Instagram caption over as the photo’s title and alt text. Turn off for photos with no caption.
Limit Caption Length Cuts long captions to this many words.
Cache Data from Instagram? Recommended. Imagely stores the response for about an hour instead of calling Instagram on every page load.

Click Next step when you’re happy with the settings.


Step 5: Pick a Layout

On the Customize step, choose how the gallery should look. The preview on the right fills with your Instagram photos so you can compare layouts before you commit.

Adjust the options underneath – images per page, number of columns, and so on – then click Next step.

Layout picker showing thumbnail grid options; Thumbnails is selected (highlighted).

Step 6: Publish Your Gallery

On the Settings step you can rename the gallery, add a description, and turn on eCommerce. Click Update to save.

Imagely confirms the gallery is ready and shows its shortcode. Copy that shortcode into any page, post, or widget – or add the gallery with the Imagely Gallery block in the editor.


Setting Defaults for Every Instagram Gallery

If most of your Instagram galleries should look alike, set the values once instead of per gallery. Go to Imagely → Settings → Integrations, expand the Instagram card, and open the Configure tab.

WordPress admin panel showing Imagely integrations with the Configure tab open for Instagram settings in the plugin settings page.

Every gallery left on Default Settings follows these values. Galleries switched to Custom Settings keep their own.


Removing an Account or Starting Over

Both cleanup actions live at the bottom of the Instagram card in Imagely → Settings → Integrations.

  • Remove (next to an account) deletes that account’s stored connection and every gallery built from it.
  • Click here to delete all Instagram data removes all connected accounts and deletes every Instagram gallery on the site.
WordPress admin dashboard showing Imagy plugin Integrations with a connected Instagram account and a red Delete All Instagram Data link.

Neither action changes anything on Instagram itself – only what’s stored in WordPress. Both are permanent, so export or re-create any gallery you want to keep first.


Frequently Asked Questions

Do I need a business account? Yes. Instagram only lets apps read media from a Professional account, which means Business or Creator. Personal accounts can’t be connected. Switching is free and takes a minute in the Instagram app.

How many Instagram accounts can I connect? Three. Each one takes a slot, and each gallery pulls from a single account.

Is my Instagram password stored in WordPress? No. The connection uses Instagram’s own login screen, and only an encrypted access token comes back to your site.

Are videos and Reels imported? No. Imagely skips them and keeps looking further back through your posts until it has the number of photos you asked for. Carousel posts add their first image and share the post’s caption.

How often does the gallery update with new posts? With caching on, Imagely refreshes the data about once an hour, so new posts show up shortly after you publish them. Turning Cache Data from Instagram? off makes every page load fetch live data – accurate, but slower for visitors.

What happens if I lower the number of photos? The gallery keeps the most recent photos up to the new limit and removes the rest.

Do I have to reconnect my account periodically? Usually not. Imagely renews the access token in the background while the connection is in use. If a gallery stops updating, open Imagely → Settings → Integrations and reconnect the account.

Where do the photos actually live? In your gallery folder on your own server, the same place as uploaded images. That’s why Instagram photos work with lightboxes, watermarks, sorting, and the rest of NextGEN’s features.

Can I use the same Instagram account in more than one gallery? Yes. Create as many galleries as you like from one account, each with its own photo count, layout, and link behavior.

Experience the Imagely Difference

Best WordPress Theme & Plugin For Photographers

Enter the URL of your WordPress website to install

Upgrade to Imagely Pro

Imagely is perfect for photographers, designers, bloggers, and creative professionals who want more than just a gallery.

Built in eCommerce and print fulfillment

90+ themes and designs

Tons of customizations and options

14 day money back guarantee