Title: Slideshow with random Images?
Last modified: October 26, 2020

---

# Slideshow with random Images?

 *  Resolved [nagamichisan](https://wordpress.org/support/users/nagamichisan/)
 * (@nagamichisan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/slideshow-with-random-images/)
 * Hi,
 * is it possible to run the Slieshow with random images?
    It should then only apply
   to ONE gallery.
 * Can you tell me, how?
 * Thx & Regards
    Markus

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [gabyimagely](https://wordpress.org/support/users/gabyimagely/)
 * (@gabyimagely)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/slideshow-with-random-images/#post-13582099)
 * Hello [@nagamichisan](https://wordpress.org/support/users/nagamichisan/),
 * There is a trick, but you need to insert an extra attribute manually in the shortcode
   order_by=”rand()”
 * Here is an example using a gallery with the id 2:
 * `[ngg src="galleries" ids="2" display="slideshow" order_by="rand()" order_direction
   ="DESC"]`
 * More information here: [https://www.imagely.com/docs/nextgen-gallery-shortcodes/](https://www.imagely.com/docs/nextgen-gallery-shortcodes/)
 * We hope that this helps!
    Please, keep us posted. We are happy to help!
 *  Thread Starter [nagamichisan](https://wordpress.org/support/users/nagamichisan/)
 * (@nagamichisan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/slideshow-with-random-images/#post-13586841)
 * Ok, thx. Will try it soon.
 *  [gabyimagely](https://wordpress.org/support/users/gabyimagely/)
 * (@gabyimagely)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/slideshow-with-random-images/#post-13588776)
 * Please, keep us posted.
 *  Thread Starter [nagamichisan](https://wordpress.org/support/users/nagamichisan/)
 * (@nagamichisan)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/slideshow-with-random-images/#post-13599099)
 * ok thx. it works with this code.
 * many thx.
    markus

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Slideshow with random Images?’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [nagamichisan](https://wordpress.org/support/users/nagamichisan/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/slideshow-with-random-images/#post-13599099)
 * Status: resolved