Skip to content

Commit

Permalink
Fixes #11601 Image template src reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuren1 committed Oct 16, 2023
1 parent 43188af commit f8029d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/layers/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_attribute(self, instance):
elif _field.featureinfo_type == Attribute.TYPE_IMAGE:
_template += (
'<div class="col-xs-12" align="center" style="font-weight: bold; word-wrap: break-word;"> \
<a href="${properties[\'%s\']}" target="_new"><img width="100%%" height="auto" src="${propertiess[\'%s\']}" title="%s" alt="%s"/></a></div>'
<a href="${properties[\'%s\']}" target="_new"><img width="100%%" height="auto" src="${properties[\'%s\']}" title="%s" alt="%s"/></a></div>'
% (_field.attribute, _field.attribute, _label, _label)
)
elif _field.featureinfo_type in (
Expand Down

0 comments on commit f8029d0

Please sign in to comment.