develop setup media grid for image gallery