Random image gallery with Light box (Lightbox) WordPress plugin

The Random image gallery with light box plugin which allows you to simply and easily show random image any where in your website, template files or using widgets with on-click light box effect. You can upload the original images directly into the folder or you can set the existing image folder location. this plugin will automatically generate the perfect thumbnail image based on the mentioned width.This plugin is very useful to showcase images randomly to user.

What is Light box script? Light box is a simple, modest script used to overlay images on the current page. click and see the demo you will get understand.

Plugin live demo available in this page. Refresh this page and see the another demo image. You may also be interested in random image gallery with fancy zoom WordPress plugin.

Live Demo

Features of this plugin

  • Simple and easy installation.
  • This will create thumbnail image.
  • Display one image on random order.
  • Light box effect on mouse click.

Installation instruction

Method 1

  • Download the plugin random-image-gallery-with-light-box.zip from download location.
  • Unpack the random-image-gallery-with-light-box.zip file
  • Extract the /random-image-gallery-with-light-box/ folder.
  • Drop the random-image-gallery-with-light-box folder into your ‘wp-content/plugins’ folder.
  • In WordPress administration panels, click on plugin from the menu.
  • You should see your new random image gallery with light box plugin listed.
  • To turn the WordPress plugin on, click activate.

Method 2

  • Go to ‘add new’ menu under ‘plugins’ tab in your WordPress admin.
  • Search random image gallery with-light box plugin using search option.
  • Find the plugin and click ‘Install Now’ link.
  • Finally click activate plugin link to activate the plugin.

Method 3

  • Download the plugin random-image-gallery-with-light-box.zip from download location.
  • Go to ‘add new’ menu under ‘plugins’ tab in your WordPress admin.
  • Select upload link (top link menu).
  • Upload the available random-image-gallery-with-light-box.zip file and click install now.
  • Finally click activate plugin link to activate the plugin.

Plugin configuration

Method 1

Drag and Drop the Widget : Go to widget page under Appearance tab, Drag and drop R I G W L B widget into your side bar. its very easy.

Method 2

Add directly in the theme : Use this code to add the gallery to your Theme files.

<?php if (function_exists (rigwlb_show)) rigwlb_show(); ?>

Frequently asked questions

Q1. Plugin setting link?

Dashboard >> Setting >> R I G W L B

Click the above link to update the plugin settings.

Q2. Thumbnail not display?

To create thumbnail the “GD support” must be enabled to your PHP setting (its default enabled mode, if not please check your phpinfo file and contact your server).

Q3. Where to change the thumbnail width?

Go to ‘R I G W L B’ link under SETTINGS TAB to update the setting, the height of the image automatically resized based on your width.

Q4. Close button not display in light box effect?

Open “rigwlb_js/lightbox.js” file and set full path to mentioned variables fileLoadingImage & fileBottomNavCloseImage.




Q5. Where to upload my images?

After activated the plugin in default it will fetch image from the below location.

You have to change this folder location to your original location. (Best practice is don’t upload your original image into this folder instead you change this default path to original path)

Plugin official page


Download location