add gallery view to images