Random images

­

Show random images from NextGEN through Justified Image Grid. It ensures that the gallery presents different images for each page load, unless cached. It picks the desired amount of photos out of a large pool, always random. Instead of shuffling the same pictures over and over again. This pool can be your entire portfolio (except excluded photos), or just specific galleries.

Displaying random images from the entire NextGEN library

It brings back long forgotten images, not just new ones. This makes a good widget at the appropriate thumbnail count and sizes. As home page teaser, using Preset 10: Hidden is recommended. This example also shows Filtering feature in use, but actually using the parent galleries as filter terms!

The above example uses the following, generated shortcode (how to use):

[$justified_image_grid caption_opacity=0.8 caption_bg_color=rgba(50,0,0,0.4) overlay=off specialfx=captions specialfx_type=blur specialfx_options=amount:2 filterby=ng_galleries filter_style=tags filter_orderby=popularity ng_random_images=yes]

Getting random images from a specific NextGEN gallery or multiple galleries

Choose one or more NextGEN galleries to fetch photos from. This example shows random people photos with occasional flowers.

The above example uses the following, generated shortcode (how to use):

[$justified_image_grid caption_bg_color=rgba(255,255,255,0.6) caption_text_color=black overlay=off specialfx=captions specialfx_type=blur specialfx_options=amount:2 limit=10 last_row=hide ng_random_images=15,16]

How is displaying random images useful?

With its simplicity it offers a quick way to spice up your homepage, sidebar or wherever you need random photos.

  • By default it shows 25 random photos but you are free to set how much content is needed.
  • Limiting is applied after randomization, so you get fresh images at every page load.
  • It's fundamentally different from just setting a random order on any other NextGEN modes.

How do the settings look like?