if image attachment doesn't have a "name", show "filename" instead