Bigger image from Wikidata item

This commit is contained in:
Edward Betts 2021-05-12 09:27:03 +02:00
parent 3f77a1478d
commit a05542388c

View file

@ -276,7 +276,7 @@ function build_item_detail(item) {
}
}
if (item.image_list && item.image_list.length) {
popup += `<br><img src="/commons/${item.image_list[0]}">`;
popup += `<br><img class="w-100" src="/commons/${item.image_list[0]}">`;
}
if (item.street_address && item.street_address.length) {
popup += `<br><strong>street address</strong><br>${item.street_address[0]["text"]}`;