In the before time, the long, long ago, my website was statically put together on my computer and then uploaded to Lycos for hosting. To make my life easier I moved it the main story handling to blogger and all the hosting over to GoDaddy. As part of the transition I knew there would be a loss of some functionality, but that generally everything would be easier, faster and all around better.
Expert means that you know more than anyone you need to talk to about the subject.- Timothy Ferriss
But one particular friend (hi Timmy!) told me that I was not allowed to do that! He asked (demanded?) that I fix the random photo display on my website. Since he might name his firstborn child after me, I felt like I needed to figure it out. I have! It works! Let me tell you how!
One call to get total number of photos in the album:
Generate a random number between 1 and the result and then one more call to pull back the URLs for that image.
Then you get a random photo!