* Fixed nasty bug when generating cache-key for images.