modified construct and creation of sitemap for image sitemaps