updated syntax of gallery images