I'm want to publish with qgis2web my qgis project. The shapefile, point type needs to be a pop-up image, this image must be from Google Drive.

From Google Drive I made to image public and copy the image link to the atribute field is exactly this: https://lh6.googleusercontent.com/NattSenOrovPTKCV3xl7mN4HevVW_BIThT4t5Ew605fZDrT6QeFnftVtS8fJn1Vlg-7Wto-cnxe5WHI=w1920-h858

But result is only a weblink and not a nice pop-up image.

How do I solve it?

I use: Qgis 2.14, Windows, Chrome, Qgis2web 2.33 version (latest version)


Existing Q&As about this subject are:

  1. Link QGIS attribute table with Web Image?
  2. Displaying pop-up picture in QGISCloud?
  3. Adding hyperlinks to pop-up data in qgis2web?

1 Answer 1


In the Gist you linked to in the comment, change line 92 to the following:

<td colspan="2"><img src="' + feature.properties['Photo'] + '" /></td>\

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.