added media module for image gallery