diff --git a/schemas/dublin-core/src/main/plugin/dublin-core/formatter/xsl-view/view.xsl b/schemas/dublin-core/src/main/plugin/dublin-core/formatter/xsl-view/view.xsl index f4fdfc7c987..45df242b58a 100644 --- a/schemas/dublin-core/src/main/plugin/dublin-core/formatter/xsl-view/view.xsl +++ b/schemas/dublin-core/src/main/plugin/dublin-core/formatter/xsl-view/view.xsl @@ -92,7 +92,8 @@ {$schemaStrings/overview} + src="{.}" + onerror="this.onerror=null; $('.gn-md-side-overview').hide()"/> diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/xsl-view/view.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/xsl-view/view.xsl index 013e1d9f416..a9742e1516a 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/xsl-view/view.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/formatter/xsl-view/view.xsl @@ -253,7 +253,8 @@ {$schemaStrings/overview} + src="{mcc:fileName/*}" + onerror="this.onerror=null; $('.gn-md-side-overview').hide()"/>
diff --git a/schemas/iso19139/src/main/plugin/iso19139/formatter/xsl-view/view.xsl b/schemas/iso19139/src/main/plugin/iso19139/formatter/xsl-view/view.xsl index 9653a658a66..9c5d36da31f 100644 --- a/schemas/iso19139/src/main/plugin/iso19139/formatter/xsl-view/view.xsl +++ b/schemas/iso19139/src/main/plugin/iso19139/formatter/xsl-view/view.xsl @@ -227,7 +227,8 @@ {$schemaStrings/overview} + src="{gmd:fileName/*}" + onerror="this.onerror=null; $('.gn-md-side-overview').hide()"/>
diff --git a/web-ui/src/main/resources/catalog/views/default/templates/recordView/thumbnails.html b/web-ui/src/main/resources/catalog/views/default/templates/recordView/thumbnails.html index 40457b2ce48..4a7c0d4219d 100644 --- a/web-ui/src/main/resources/catalog/views/default/templates/recordView/thumbnails.html +++ b/web-ui/src/main/resources/catalog/views/default/templates/recordView/thumbnails.html @@ -6,6 +6,7 @@ alt="{{'overview' | translate}}" title="{{img.name}}" data-ng-src="{{img.url}}" + onerror="this.onerror=null; this.style.display='none';" />

{{img.name}}