take this all out. we refactored this into mediaGallery now.