Instafeed Particle

  • Tony
  • 18 April 2017
  • No comments
  • Docs
Display Instagram media from supported Instagram accounts with a clean, customizable, and responsive feed. JL Instafeed supports Grid and Slider layouts, Lightbox, Masonry, Parallax, overlays, captions, responsive columns, slider navigation, and custom Slidenav icons. See how Instafeed can be designed beautifully on Demo Page.

# Instafeed Package contents

Files Description
jlinstafeed.yaml Contains the Instafeed particle settings.
jlinstafeed.html.twig The Twig template used to render the Instafeed layout and connector endpoint.
js/jlinstafeed.min.js Native JavaScript controller used to load and render Instagram media.

Installation Installing the particle on your website is a simple process. You can refer to the document here to know more.

Requirements Instafeed requires Uikit 3 for Gantry 5 Atom to be installed and enabled in your theme layout settings.

JL Connector

Important: JL Connector is required for the current Instafeed integration. The Instagram Access Token is configured in JL Connector and is not entered into the Instafeed particle.

JL Connector handles the communication between your website and Instagram. The particle requests media from your local connector endpoint, while the Instagram credential remains on the server.

Install JL Connector

Joomla
  1. Download the JL Connector package for Joomla.
  2. Go to System → Install → Extensions.
  3. Upload and install the JL Connector package.
  4. Go to System → Plugins.
  5. Find JL Connector and enable it.
WordPress
  1. Download the JL Connector package for WordPress.
  2. Go to Plugins → Add New Plugin → Upload Plugin.
  3. Upload and install the JL Connector ZIP package.
  4. Activate the JL Connector plugin.
  5. Open the JL Connector settings.
Grav
  1. Install JL Connector as a Grav plugin.
  2. Enable JL Connector from Grav Admin.
  3. Make sure the Grav API plugin is installed and enabled.
  4. Open the JL Connector configuration.

Configure Instagram

Setting Description
Instagram Access Token Enter the valid Instagram Access Token used by JL Connector to request media.
Cache Use the connector’s server-side Instagram cache when available. Caching reduces repeated requests and can improve page performance. Newly published media may remain cached until the configured cache period expires.
Request Timeout If available in your JL Connector version, this controls how long the server waits for the Instagram request to complete.
The request flow is JL Instafeed → JL Connector → Instagram → JL Instafeed. Multiple Instafeed particles can share the same connector configuration.

Installation

Go to Template/Theme Settings > select the Layout to add Instafeed (i.e: Home) -> Layout tab -> Drag and drop the Instafeed Particle from the Particles panel to the section where you want to display the feed.

JL Instafeed particle installation

Settings

JL Instafeed content settings

Content

Setting Description
Items Set the number of Instagram media items to display.
Instagram Layout Choose between Grid and Slider mode.
Column Gap Set the size of the gap between grid or slider columns.
Dividers Display dividers between grid cells or slider columns.
Spinner Display an animated loading spinner while media is being fetched.

Grid Configuration

Setting Description
Enable Lightbox Open Instagram media in a responsive Lightbox gallery.
Enable Masonry Create a masonry layout that reduces gaps between items with different heights.
Parallax Move individual grid columns at different speeds while scrolling. The value defines the vertical offset in pixels.
Row Gap Set the vertical gap between grid rows.
Match Height Match the height of the direct child elements of each grid cell.
Center Columns Center the grid columns.
Center Rows Center the grid row content.

Grid Columns

Setting Description
Phone PortraitSet the number of grid columns for each breakpoint. Inherit uses the value from the next smaller screen size.
Phone Landscape
Tablet Landscape
Desktop
Large Screens

Slider Tab

JL Instafeed slider settings

Layout The settings below apply to Slider mode only.

Setting Description
Item Width Mode Define whether slider item widths are fixed or automatically determined by their content. Height and responsive Item Width settings do not apply to Auto mode.
Height Let the slider height adapt to its content or use a viewport-based height. When using a viewport option, avoid setting a conflicting height on the section.
Min Height Set an optional minimum height for the slider. This is useful on smaller devices. It applies when Fixed Item Width and a viewport-based Height are selected.

Slider Columns

Set Item Width Mode to Fixed to use these responsive item width settings.

Setting Description
Phone PortraitSet the item width for each breakpoint. Inherit uses the value from the next smaller screen size.
Phone Landscape
Tablet Landscape
Desktop
Large Screens

Slider Animation

Setting Description
Sets Slide all visible items together. The number of items in a set depends on the defined item width.
Center Center the active slide.
Disable Infinite Disable infinite scrolling between items.
Velocity Set slider movement velocity in pixels per millisecond. The available range is 20–300.
Autoplay Enable automatic slider movement.
Pause On Hover Pause autoplay while hovering over the slider.
Interval Set the autoplay interval in seconds. The available range is 5–15 seconds.

JL Instafeed navigation and Slidenav settings

Setting Description
NavigationEnable or disable slider dot navigation.
PositionAlign navigation items to the left, center, or right.
MarginSet the vertical margin between the slider and navigation.
BreakpointDisplay navigation from the selected device width and larger.
ColorSet the navigation color mode.
Enable TooltipDisplay the navigation tooltip on hover.

Slidenav

Setting Description
PositionSelect the Slidenav position.
Show on Hover OnlyShow Slidenav controls only while hovering over the slider.
Larger StyleIncrease the size of the Slidenav icons.
MarginSet the margin between the Slidenav and slider container.
BreakpointDisplay Slidenav from the selected device width and larger.
ColorSet the normal Slidenav color mode.
Outside BreakpointDisplay Slidenav outside the slider from the selected device width and larger. Below that breakpoint it remains inside.
Outside ColorSet the color mode used when Slidenav is displayed outside the slider.
Previous IconSelect a custom Previous icon.
Previous SVG CodeAdd custom SVG markup for the Previous icon.
Next IconSelect a custom Next icon.
Next SVG CodeAdd custom SVG markup for the Next icon.

Overlay Tab

JL Instafeed overlay settings

Setting Description
ModeChoose Cover or Caption mode. Cover mode requires an appropriate text color.
Overlay On HoverDisplay the content overlay only on hover.
Animate BackgroundAnimate the overlay background on hover.
StyleSelect the predefined overlay style.
Text ColorSet the light or dark text color mode.
Inverse Text ColorInverse the text color on hover.
PaddingSet the padding between the overlay and its content.
PositionSelect the overlay content position.
MarginApply a margin between the overlay and image container when supported by the selected overlay style.
Max WidthSet the maximum content width.
TransitionSelect the transition used when the overlay appears.
Link OverlayMake the whole overlay clickable when a valid media permalink exists.

Style Tab

Image Settings Common settings for Instafeed images.

JL Instafeed style settings

Setting Description
Load Image EagerlyLoad initial-viewport images eagerly. Images are lazy-loaded by default.
Image BorderSelect the image border style.
Box ShadowSelect the default image shadow size.
Hover Box ShadowSelect the image shadow size on hover.
WidthSet an optional image width.
HeightSet an optional image height.
Image TransitionSelect an image hover transition.

Content Settings Common settings for captions and overlay content.

Setting Description
Show CaptionDisplay the Instagram caption in the overlay content.
TransitionSelect the transition used when content appears.
StyleSelect a predefined text style.
Predefined ColorSelect a predefined text color.
Custom ColorSet a custom content color instead of the predefined color.
Font SizeSet a custom content font size.
TransformTransform text to uppercase, capitalize, or lowercase.

Slidenav Style

Setting Description
BackgroundSet the Slidenav background color.
ColorSet the Slidenav icon color.
Padding HorizontalSet horizontal Slidenav padding.
Padding VerticalSet vertical Slidenav padding.
Border RadiusSet the Slidenav border radius.
Hover BackgroundSet the Slidenav background color on hover.
Hover ColorSet the Slidenav icon color on hover.

General, Parallax and Parallax Background tabs

Please take a look at the documentation here for more detail about these common settings.

Upgrade from Previous Versions

Important: Previous versions of Instafeed used the legacy Instafeed.js library and required an Instagram Access Token directly in the particle. The current integration uses JL Connector.
  1. Install and enable JL Connector for your platform.
  2. Configure your Instagram Access Token in JL Connector.
  3. Update JL Instafeed to the current version.
  4. Remove the old instafeed.min.js integration if it was added manually.
  5. Do not add the Instagram Access Token to the particle or frontend JavaScript.
  6. Keep your existing Grid, Slider, Overlay, Style, and General settings.
  7. Save the layout and test the feed on the frontend.
The old particle-side Access Token and legacy Instafeed.js token-management instructions are no longer required.

Performance

  • Keep the Items value limited to the amount of media you actually need.
  • Use JL Connector’s server-side Instagram cache when appropriate.
  • Keep Load Image Eagerly disabled unless images are needed in the initial viewport.
  • Avoid excessive animation or parallax on pages containing many feed items.
  • Use responsive image dimensions where possible.

Using Multiple Instafeed Particles

You can place multiple Instafeed particles on the same page. Each particle can use different Grid/Slider, responsive column, Overlay, Style, Lightbox, and navigation settings while sharing the Instagram credential configured in JL Connector.

Troubleshooting

The feed does not display

  • Make sure JL Instafeed is enabled.
  • Make sure JL UIkit 3 Atom is enabled.
  • Make sure JL Connector is installed and enabled.
  • Check that a valid Instagram Access Token is configured in JL Connector.
  • Confirm that the particle is placed in the correct Gantry Outline.

The particle loads but no media appears

  • Check whether the Instagram Access Token has expired or been revoked.
  • Make sure your server can make outbound HTTPS requests.
  • Check security or firewall plugins if they block the local connector endpoint.
  • Check the browser console for connector request errors.

New Instagram posts do not appear immediately

If Instagram caching is enabled in JL Connector, the feed can continue using the cached response until the configured cache period expires. Reduce the cache duration while testing if necessary.

Lightbox does not open

  • Make sure Enable Lightbox is enabled.
  • Make sure JL UIkit 3 Atom is loaded.
  • Check that the returned media contains a usable media URL.
  • Check for unrelated JavaScript errors that could prevent UI components from initializing.

Slider does not autoplay

  • Make sure Instagram Layout is set to Slider.
  • Make sure Autoplay is enabled.
  • Make sure there are enough items for the slider to move.
  • Review Sets, Center, and Disable Infinite if the current combination leaves no additional items to navigate.

Outside Slidenav is not visible

  • Set Slidenav Position to Outside.
  • Check the Outside Breakpoint.
  • Make sure the parent section does not clip overflowing content.
  • Check that the selected Slidenav color has sufficient contrast.

Comments

Leave a Reply

You must be logged in to post a comment.

Updated 80 Joomla templates for Joomla 6.0.3, Gantry Framework 5.6.0, and JoomLead Particles 2.3.4, plus additional improvements. Download Now
Flash Sale. Get Up to 25% Off - Coupon: FLASH25 Shop Now