[uMap] image tag in popups
Jean-Guilhem Cailton
jgc at arkemie.org
Fri Jul 29 08:43:28 UTC 2016
Hi Marc,
{{{link}}} works in popup content template*, where link is a field
holding the URL of the photo to display, so you might try with three
braces, if you haven't already.
Best regards,
Jean-Guilhem
*: (for instance in http://u.osmfr.org/m/94633/)
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
>>>
>>> _______________________________________________
>>>
--
"Transparency International’s definition of corruption is: ‘the abuse of
entrusted power for
private gain’."
https://www.transparency.org/whatwedo/publication/preventing_corruption_in_humanitarian_operations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/umap/attachments/20160729/4f085770/attachment.htm>
More information about the Umap
mailing list