Since we only use the duck to check if the attachment is image or not and it won't be used in the reset of part, how about we just make parameter into only one boolean like `needImageHandling` or something better naming?