WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Random image from different gallerys (7 posts)

  1. luke1970
    Member
    Posted 3 years ago #

    Hi,

    I have a question:

    How can I display one random image from different gallerys on a WP site or article?
    Is this possible with nextgen-gallery?

  2. the.mnbvcx
    Member
    Posted 3 years ago #

    Well, the NextGen Slideshow Widget supports picking random images from all available pictures or a specified gallery.

    The NextGen Gallery Widget can show a defined number of random pictures from the specified (or all available) galleries. Pictures will change on every page refresh (see Alex' Homepage for an example)

    You might be interested in checking out the demo site http://nextgen-gallery.com/ for more details.

  3. luke1970
    Member
    Posted 3 years ago #

    I will not use the Widget.
    I will a random image on a site.

  4. Alex Rabe
    Member
    Posted 3 years ago #

    You can use

    echo nggShowRandomRecent( 'random ', $maxImages , '' , $galleryId )

  5. luke1970
    Member
    Posted 3 years ago #

    Hello Alex,

    Where I must enter this code?

    I enter this in a article page, but I don't become a random image. :-(

  6. Alex Rabe
    Member
    Posted 3 years ago #

    It's a PHP code, nothing which you can use inside a article or post

  7. luke1970
    Member
    Posted 3 years ago #

    Ah, ok. Thanks.

    I have another question:
    It's possible, set watermark automatic after the picture upload?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.