[Lizmap] HTML in media folder (Lizmap)

Etienne Trimaille etrimaille at 3liz.com
Thu Aug 11 03:12:36 PDT 2022


Hi,

I haven't tried, but an HTML media file should be loaded in the popup. 
Not included as an iframe. Maybe it's not exactly what you wanted. Just 
for your information

https://docs.lizmap.com/current/en/publish/configuration/popup.html#usage-of-media-images-documents-etc

 > For a given feature, using a path in your field starting by |media/|, 
Lizmap will display:

  * *the content* for txt or HTML files

On 11/08/2022 09:36, Marin M wrote:
> I thought If there is possibility to input JS then it would be logic 
> to couple-in HTML
>
> Maybe wishful thinking. But could be cool
>
> B regards,
>
> Marin Mirosevic
>
>
>
> Dana ponedjeljak, 18. srpnja 2022. Peter Berger 
> <peter.berger at bluewin.ch> piše:
>
>     Interesting question. Hope somebody can help.
>
>     Peter
>
>     Von meinem iPhone gesendet
>
>     > Am 18.07.2022 um 17:20 schrieb Marin M <marin.mirosevic at gmail.com>:
>     >
>     > 
>     > hi,
>     >
>     > is it possible ,in addition to the Javascript file, to have an
>     HTML file connected to it , in the media folder .
>     >
>     > My intention would be, when a feature  is selected/clicked on a
>     lizmap web client, that Javascript calls a div  ID which has an
>     iframe defined on it.
>     >
>     > Is it possible at all to do coupled HTML/Javascript in the Media
>     folder Lizmap`?
>     >
>     > If so, how ?I tried and it seems it is not working. Or am I
>     doing something wrong ?
>     >
>     > best regards
>     > _______________________________________________
>     > Lizmap mailing list
>     > Lizmap at lists.osgeo.org
>     > https://lists.osgeo.org/mailman/listinfo/lizmap
>
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
-- 

Etienne Trimaille
Géomaticien
www.3liz.com <http://www.3liz.com>

*Tel.* 06 12 93 11 39
*Bureau*
31, rue de l'Argenterie
34000 Montpellier
*Siège social*
73, allée Kleber
Boulevard de Strasbourg
34000 Montpellier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220811/a0673775/attachment.htm>


More information about the Lizmap mailing list