Add .pdf and image types on sitemap.xml

Hello!

i have:


{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xhtml="http://www.w3.org/1999/xhtml">
	
  {{ range where .Pages "Params.noSitemap" "ne" true }}
  <url>
    <loc>{{ .RelPermalink }}</loc>
    {{ if not .Lastmod.IsZero }}
    <lastmod>
    {{ safeHTML ( .Lastmod.Format "20018-01-02T15:04:05-07:00" ) }}
    </lastmod>
    {{ end }}

    {{ with .Sitemap.ChangeFreq }}
    <changefreq>{{ . }}</changefreq>
    {{ end }}

    {{ if ge .Sitemap.Priority 0.0 }}


    {{ if eq .RelPermalink .Site.BaseURL }}

    <priority> 1 </priority>

    {{ end }}


    {{ $urlCheck := .RelPermalink | relURL }}
    {{ $urlSub2 := findRE "([^/]+).*" .RelPermalink 1 }}

    {{ $urlSubFix := replaceRE "[^/]*?((?:/[^/]*?){2})$" "$1" .RelPermalink }}


    {{ if eq $urlCheck $urlSubFix  }}
    <priority> 0.8 </priority>
    {{ end }}


    {{ if not ( eq .RelPermalink .Site.BaseURL | or ( eq $urlCheck $urlSubFix )) }}
    <priority> 0.6 </priority>
    {{ end }}


    {{ end }}

    {{ if .IsTranslated }}{{ range .Translations }}
    <xhtml:link
      rel="alternate"
      hreflang="{{ .Lang }}"
      href="{{ .RelPermalink }}"
      />{{ end }}
      <xhtml:link
        rel="alternate"
        hreflang="{{ .Lang }}"
        href="{{ .RelPermalink }}"
        />{{ end }}
      </url>
      {{ end }}
    </urlset>

My site is multilang:
i put noSitemap: true in every page, but not run, need i put the condition {{ range where .Pages "Params.noSitemap" "ne" true }} in the section traslated pages? if yes, how?

By the way, i want show .pdf files and images of the pages on sitemap, how i do it?
in config:

#sitemap
[sitemap]
ChangeFreq = "daily"
Priority = 0.6
Weight = [["main", "1"], ["sub2", "0.8"], ["sub3", "0.6"]]
enableRobotsTXT = true

Thank u very much