Pico Leaflet: adding a thumbnail to Leaflet popups

le 28/08/2014 dans Pico CMS #dev#javascript#Leaflet#php#Pico CMS#plugin

You simply have to use the Thumbnail meta, using the relative path to your imgage as value.

For example I wan't to use the image http://momh.fr/IMG/logos/conkylogo.png, I'll use IMG/logos/conkylogo.png as the path:

/*
Title: Pico Leaflet : fourth example
Description: Ajouter une carte à des pages articles dans Pico CMS
Author: Brice Boucard
Date: 2014/08/28
License: Creative Commons Attribution-ShareAlike 4.0 International License
Tags: dev
Category: Leaflet
Template: index
Coordinates: 22.610771801269206, 12.4086906909942627|32.33859359694389, 22.473631381988525
Thumbnail: IMG/logos/conkylogo.png
*/

Coordonnées :

  • 22.610771801269206, 12.4086906909942627
  • 32.33859359694389, 22.473631381988525