Dont use attr? method when displayong attachments