Title: random_image_link()
Last modified: August 19, 2016

---

# random_image_link()

 *  [c0o1](https://wordpress.org/support/users/c0o1/)
 * (@c0o1)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/random_image_link/)
 * Hello there!
 * I’m new to these forums.
 * I’ve been using these functions for my blog: next_image_link() and previous_image_link().
 * NextGenGallery is cool but I don’t really like it / need it. It could be really
   awesome to have something like this:
    <?php random_image_link() ?>
 * So I could grab a random image thumbnail from a gallery (or all the galleries)
   and display it anywhere.
 * Greetings from Mexico

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

 *  [outthere](https://wordpress.org/support/users/outthere/)
 * (@outthere)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/random_image_link/#post-794989)
 * There is a widget named exactly that. [random image widget.](http://www.district30.net/random-image-widget)
 *  Thread Starter [c0o1](https://wordpress.org/support/users/c0o1/)
 * (@c0o1)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/random_image_link/#post-794997)
 * Oh thanks, but it’s not about finding a plugin or a widget. I don’t want to select
   an specific folder to grab images from there. What I want is to show a random
   image thumbnail from any gallery.
 *  Thread Starter [c0o1](https://wordpress.org/support/users/c0o1/)
 * (@c0o1)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/random_image_link/#post-795020)
 * Wow… I think matt uses exactly what I want on his sidebar…
 * [http://ma.tt/category/gallery/](http://ma.tt/category/gallery/)
 * Any ideas yet?
 *  Thread Starter [c0o1](https://wordpress.org/support/users/c0o1/)
 * (@c0o1)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/random_image_link/#post-795025)
 * Ok, here is what I wanted.
 * [http://justinsomnia.org/2005/09/random-image-plugin-for-wordpress/](http://justinsomnia.org/2005/09/random-image-plugin-for-wordpress/)

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

The topic ‘random_image_link()’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 4 replies
 * 2 participants
 * Last reply from: [c0o1](https://wordpress.org/support/users/c0o1/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/random_image_link/#post-795025)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
