Implementation of image gallery