added checker for audio attachment/ edited checker for image attachment