Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter dklassen

    (@dklassen)

    Clarification. When displaying the slide show I want to display random images from a specific gallery in random order.

    Plugin Contributor photocrati

    (@photocrati)

    @dklassen – Are you looking to only display a specific number of images from the gallery as well?

    This can most likely be done with a shortcode but I will need to know a few more details about the end-results you are looking for.

    Thanks!

    – Cais.

    Thread Starter dklassen

    (@dklassen)

    Thanks. I want to display all the images in a particular gallery slide show in random order.

    Plugin Contributor photocrati

    (@photocrati)

    @dklassen – Give the following shortcode a try …

    [ngg_images gallery_ids=1 display_type=photocrati-nextgen_basic_slideshow order_by='rand()']

    Please note using the rand() option could cause a slowdown on your site as the random order(s) are generated and may even not be supported by your web host as a default.

    – Cais.

    Thread Starter dklassen

    (@dklassen)

    Works perfect, many thanks! One more thing, could you possibly add in the code to make it 700×500 and turn thumbnail link off?

    Thread Starter dklassen

    (@dklassen)

    Ah, never mind. I saw that the short code uses the default gallery slideshow settings. Thanks again!

    Plugin Contributor photocrati

    (@photocrati)

    @dklassen – Yes, it does use the “defaults” under Gallery > Gallery Settings as they apply to the specific display type(s) … there are also additional parameters in most cases where you can over-ride those as well.

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Random Images for Slideshow.’ is closed to new replies.