From f8029d0cc240c912de461a76cf95e17d70972024 Mon Sep 17 00:00:00 2001 From: Suren Date: Mon, 16 Oct 2023 16:06:39 +0530 Subject: [PATCH] Fixes #11601 Image template src reference --- geonode/layers/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geonode/layers/api/serializers.py b/geonode/layers/api/serializers.py index 3d39fdefe20..304e89467c5 100644 --- a/geonode/layers/api/serializers.py +++ b/geonode/layers/api/serializers.py @@ -101,7 +101,7 @@ def get_attribute(self, instance): elif _field.featureinfo_type == Attribute.TYPE_IMAGE: _template += ( '
\ - %s
' + %s' % (_field.attribute, _field.attribute, _label, _label) ) elif _field.featureinfo_type in (