[support] Setting up the layout of an image gallery