Random image gallery with light box

July 18, 2010 | Posted by: Gopi R | Wordpress plugin | 21 Comments | Video tutorial

The Random image gallery with light box plug-in which allows you to simply and easily show random image any where in your 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 demo available on sidebar and post; click and see the light box effect. Refresh this page and see the another image on sidebar. Want to use fancy zoom instead light box? Click here to check random image gallery with fancy zoom 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.

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 <?php if (function_exists (rigwlb_show)) rigwlb_show(); ?> to add the gallery to your Theme files.


Installation instruction

Method 1

  • Download the plugin random-image-gallery-with-light-box.zip from download link.
  • 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 word press administration panels, click on plug-in from the menu.
  • You should see your new random image gallery with light box plug-in listed.
  • To turn the word presses plug-in on, click activate.

Method 2

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

Method 3

  • Download the plugin random-image-gallery-with-light-box.zip from download link.
  • Go to ‘add new’ menu under ‘plugins’ tab in your word-press 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 plug-in link to activate the plug-in.

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.

“wp-content/plugins/random-image-gallery-with-light-box/rigwlb_img/closelabel.gif”

to

“http://yourwebsitename.com/wp-content/plugins/random-image-gallery-with-light-box/rigwlb_img/closelabel.gif”

Q5. Where to upload my images?

After activated the plugin in default it will fetch image from the below location.
wp-content/plugins/random-image-gallery-with-light-box/random-gallery/

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)

Download location

http://www.gopiplus.com/work/wordpress-plugin-download/

Other image sideshow plugin

Comments (21)

  1. aryawan says:

    Dear Gopi,

    I have update your pludgin on WP 3.0.0 and my collection can not appear and can not load any of content on it.
    Would you like to inform what should I do ?

    Nice pludgin Gopi .. thank you very much

    Kind Regard
    Aryawan

  2. aryawan says:

    Dear Gopi,

    After update to your newest pludgin we must reseting again about picture, title and etc.

    I have test with and without this pludgin and would you please let me know how to make this loading faster.

    Thank you very much Gopi, wish the best for you

    Kind Regard
    Aryawan

  3. erkek says:

    tenk you

  4. Squidz says:

    I am trying your plugin, but the image in the page will not display at the proper size or quality. It shows as 500×222 no matter what I put in on the admin size.

    Is it possible to display the original image instead of a “thumbnail.”?

  5. Matt says:

    Thanks for the great plugin. I have shadowbox installed on wp and when I click the picture it comes up twice…once in Shadowbox and once in Light Box.

    Is there anyway to disable the iightbox effect or point it to shadowbox?

    Thanks!

  6. Rex @ Aarons -50 says:

    Dear Gopi.

    Thanks for the plug in.I’m using wordpress cms
    and it looks very good in side bar.
    I’ve read though setting options, not sure where
    to edit text descriptions.Any suggestions?

  7. ניהול תיקי השקעות says:

    Great tool, but for one photo..

    השקעות בארץ ובחול
    בשוק ההון

  8. Tom says:

    Hello Gopi,
    I can get your plugin to work in the sidebar just fine, however, I can’t get it to work directly in my posts.

    I’ve added the code:

    header.php
    index.php
    page.php

    but no images show up, do you have any suggestions?

    Thanks!

  9. Gopi R says:

    Version 3.0 available now …

  10. marc says:

    Hello Gopi,
    Is there any way to multiple R I G W L B on the same page?
    After I put it inside first sidebar it is unpossible to put it into another sidebar…
    Acctually the best solution would be not multiple R I G W L B but set number of random images… is there any chance to adjust the code to get f.e. 5 random images?

  11. gumihz says:

    Hello Gopi, Thank you for this plugin,

    I would like to know if it’s possible to combine this plugin with the vertical scroll images slideshow? How can I do this if it’s possible?

    Thanks for your help,

  12. Genevieve says:

    I’m sohcked that I found this info so easily.

  13. Tara says:

    I am developing a site using word press.I got the R I G W L B in the widget and placed it in the side bar below archive…but the problem is it still doesn’t work..it is just being showed in the main template. How do i make it work??

  14. Amit says:

    Dear Gopi

    In which file have to put this code ?

    • Admin says:

      is ur talking about PHP code??

      then u can add this php code in the theme file..

      is ur talking about short code??

      then u can add the short code into pages/post.. ie when u create the post from the dashboard u add the short code….

  15. מכירת עסקים says:

    Wonderful paintings! That is the type of info that are supposed to be shared across the internet. Disgrace on Google for now not positioning this put up higher! Come on over and visit my web site . Thank you =)

  16. MichaelP says:

    I am new to WordPress. I have downloaded your plugin but need to get it into the body of a custom page. How do I do that?

  17. Random image gallery with pretty photo zoom WordPress Plugin says:

    [...] Random image gallery with fancy zoom Random image gallery with light box [...]

Leave a Reply