images are sent in notifications as attacment, fix images size, fix attachment serialization, fix work with cache