Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Fix wikidata issue

Russ Garrett36096ea399ba
diff --git a/web-backend/templates/plant_detail.html b/web-backend/templates/plant_detail.html
index 8dc5758..074046c 100644
--- a/web-backend/templates/plant_detail.html
+++ b/web-backend/templates/plant_detail.html
@@ -22,7 +22,7 @@
power plant in {{country|country_name()}}
{%- if plant['output']%} with a total output of {{plant['output']|power}}{% endif %}.
</p>
- {% if image_data %}
+ {% if image_data and image_data.imageinfo[0].responsiveUrls%}
{% set imginfo = image_data.imageinfo[0] %}
<figure class="plant_image">
<img src="{{imginfo.thumburl}}"