[Qgis-user] On my website, how do I link a photo to a map feature?
    Stephen Sacks 
    ssacks456 at gmail.com
       
    Fri Apr  2 12:30:16 PDT 2021
    
    
  
On my website is a map created by qgis2web.  I need advice on how to 
link map features to photos ( jpg files).  In desktop QGIS I can put
          file:///C:\[folder]\[subfolder]\[filename]
in the attribute table and the user can click on it in the popup. But I 
don't know how to reference those  jpg files  when the map is on the 
web.  I can put the photos in a folder on my web host (I'm using 
InfinityFree) and then I need some way to say "file xxx is in that 
folder."  In some circumstances two dots means parent folder, so I tried 
using the expression above and replacing the C: with two dots but that 
didn't become a live link.
      I'll be grateful if someone will tell me how to do this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210402/c351daec/attachment.html>
    
    
More information about the Qgis-user
mailing list