This project is read-only.

RandomImage Control

Topics: Controls, Themes
Feb 7, 2008 at 10:11 AM
Hi All,

Have just implemented a very simple Control for use in themes which will randomly select and display an image from a given base url.

I'm using this on my site to replace the header image with a random image. You can pass in an optional CSS class to format the image.

<blog:RandomImage ID="headerphoto" ImageUrl="/blog/themes/BrightSide/headerphoto/" runat="server" />

To download, and for more information, check out my blog