Added support for image gallery