multiple photos, fix image attachment validation