Added code for the image gallery