-
{{ range .Files }}
-
{{ template "async-image-item-large" .RenderItem }}
{{ if .IsVideo }}
{{ end }}
{{ if or (.Exif.Geocode.HasAddress) (not .Exif.Date.IsZero) }}{{ if .Exif.Geocode.HasAddress }}
{{ end }} {{ if index .Exif.Data "Model" }}{{ if index .Exif.Geocode.Address "city_district" }} {{ index .Exif.Geocode.Address "city_district" }}, {{ else }} {{ if index .Exif.Geocode.Address "village" }} {{ index .Exif.Geocode.Address "village" }}, {{ else }} {{ if index .Exif.Geocode.Address "county" }} {{ index .Exif.Geocode.Address "county" }}, {{- end }} {{- end }} {{- end }} {{ index .Exif.Geocode.Address "country" }} {{ end }} {{ if not .Exif.Date.IsZero }}
{{ .Exif.Date.Format "Monday _2 January 15:04:05 2006 MST" }} {{ end }}
{{ index .Exif.Data "Model" }}
{{ . }}
{{ end }} {{ end }} {{ if $root.Request.CanEdit }}{{ end }}
{{ end }}
{{ template "async-image" . }}