Fix for image resize file time check