allocate image message