test image gallery with media items