Advice asked for a random image plugin


A client of mine asks for a photo on a webpage (not in the header) that changes on refreshing or revisiting the page: a random image plugin is what I’m looking for.

I’m not impressed with what I find in the WP repository…

Does anyone have an advice or positive experiences with a specific plugin?

Thanks in advance and kind regards,


  • DavidM
    • DEV MAN’s Mascot

    Hiya Ronald,

    I’ve written similar scripts a number of times myself, usually involving random text, but images should be rather simple, depending on how you want it to work, as pro120 kindly mentioned.

    That said, I think it’s a strange way to do it, but I’ve actually made some extensive use of the xmasb quotes plugin for random display of various things. It provides options you can use to totally remove text, leaving just randomly displayed images, based on how you set it up in the back-end.

    Hope that helps!


  • Ronald
    • The Crimson Coder

    @pro120 I’d like to implement it with pictures the client provides, yes.

    And preferably code or a shortcode he can copy and paste on a new page, so that’s he’s not dependent on me when he makes a new page.

    @david Hmmm, that sounds like an interesting solution, that’s worth to explore.

    (btw: new WPMU plugin coming up?)

    I’ll let you know how it went!

    Thx and grtz,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.