fixed time displaying and timezones; added a method that reduce the size of images before caching