[uMap] image tag in popups
Vincent Bergeot
vincent at bergeot.org
Fri Jul 29 08:04:53 UTC 2016
Marc,
1/ in some case url seem to be truncated :
https://commons.wikimedia.org/wiki/File:%22In_betrekking_staande_figuren%22_door_Bernhard_Heilinger,_1954_(2
2/ in others case, url is like this :
https://commons.wikimedia.org/wiki/File:%22Gevecht_van_Jacob_met_de_Engel%22_door_Jacques_Lipchitz,_1932.jpg
If you want to display pictures you need url like this :
https://upload.wikimedia.org/wikipedia/commons/d/d9/%22Gevecht_van_Jacob_met_de_Engel%22_door_Jacques_Lipchitz%2C_1932.jpg
regards
Le 29/07/2016 à 09:57, Marc Gemis a écrit :
> Alexander, thanks for your reply, but I know that it works when you
> put the url directly with {{ and }}
>
> But in my case the URL comes from a field retrieved via OverPass. To
> display a field I need e.g. {{name}}, so to show the URL, I can use
> {{image}}. But how do I show the image instead of the url ?
> {{ {{image}} }} does not work.
>
>
>
> On Fri, Jul 29, 2016 at 9:51 AM, Alexander Zatko
> <alexander.zatko at nabezky.sk> wrote:
>> something like this?
>>
>> http://umap.openstreetmap.fr/en/map/vylet-do-stiavnickych-vrchov_18071#16/48.4166/19.0103
>>
>> hee is example code:
>>
>> {{http://turistika.freemap.sk/upload/gallery/0/100/20140927211338_713a6t1o9l146p9le3ete1fbl2.jpg}}
>> [[mailto:myname at gmail.com|MAIL]]
>> [[http://turistika.freemap.sk/upload/gallery/0/100/20140927211338_713a6t1o9l146p9le3ete1fbl2.jpg|zväčšiť]]
>>
>>
>>
>>> On 29 Jul 2016, at 05:53, Marc Gemis <marc.gemis at gmail.com> wrote:
>>>
>>> Hallo,
>>>
>>> I try to display the photo behind the image tag in a popup. I have
>>> tried putting different number of braces around the word "image", but
>>> nothing works.
>>> Is it possible to immediately display the photo specified by the url
>>> in the image tag ?
>>>
>>> The map is http://umap.openstreetmap.fr/en/map/art-in-town_91815#18/51.18178/4.41586
>>>
>>> regards
>>>
>>> m
>>>
>>> _______________________________________________
>>> Umap mailing list
>>> Umap at openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/umap
>>
>> _______________________________________________
>> Umap mailing list
>> Umap at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/umap
> _______________________________________________
> Umap mailing list
> Umap at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/umap
--
Vincent Bergeot
More information about the Umap
mailing list