Andrew Kennel

Web Developer

Yet another Random Image rewrite

September 8, 2008

Hopefully, this will be the last.  I've been getting a Virtual Machine running on my laptop for dev work.  This way I won't need to cycle IIS on our shared test server so often, which was starting to annoy people.   I had a bit of trouble migrating what I'd already written to Visual Studio…

Continue Reading →

Rewrote the Random Image Web Part

September 4, 2008

I did a quick rewrite of the Random Image Web Part today.  It now no longer relies on the Smart Part, but is a stand-alone web part.  It was a surprisingly easy change to make.  In the end I only needed to add 1 line of code, and change 1 line of code.  I've put…

Continue Reading →

Fixed a bug with Random Image Web Part

September 3, 2008

The original version didn't work with image libraries located in sub-site collections. (Any site collection that wasn't the root site collection)  This isn't a problem with my production server, because everything on that server is held in one site collection.  It was breaking on our test servers though, where we've used multiple site collections to…

Continue Reading →

Random Image Web Part up on Codeplex

September 3, 2008

I’ve just released by Random Image web part on the Codeplex. Here’s a link: http://www.codeplex.com/randomimage This is a very, very simple web part that displays a random image from a picture library every time it is refreshed. It is based on the Smart Part web part created by Jan Tielens. I’m uploading it mostly because…

Continue Reading →

Random Image Web Part

August 28, 2008

On our production site, we have a random image that is displayed showing pictures of our various hospitals.  We purchased a copy of Data Springs Flash Image rotater, but have never been happy with it.  The flash image sometimes appears blank when the client's flash player is of the wrong version, or it's cache gets…

Continue Reading →