The whole way this works is messy. It relies on a constantly changing date-number as a query string, and a session variable for the last mod time on the image. This needs to be overhauled. Several weird problems.