2

I'm trying to do a mapaweb test from Qgis 3.4, generating the same with Qgis2web. The map has popup images. In local mode, the images are seen perfectly at the point I want.

To upload to the network, I have changed in the PHOTO field of Qgis table the web address of each image and I have uploaded to the server of my website all Qgis2web folders. also, in the code of Layers.js and Qgis2web.js, I have already changed "Photo" to "attachment", but only the web address where the image is hosted is displayed, not the image.

enter image description here Can someone help me with this question?

  • 1
    Photos in popups have not been looked at for a little while in qgis2web. This is because of a current upstream bug in QGIS affecting the Attachment edit widget. Until this bug is fixed, it will be difficult to make much progress on this issue. Here's the QGIS bug: issues.qgis.org/issues/19118 – Tom Chadwin Jan 30 at 17:07
  • @TomChadwin Please post your comment as an answer so this question can be marked as answered. You're the ultimate reference for qgis2web after all :) – underdark Feb 2 at 16:55
  • Didn't feel like an answer to me, but I shall do as you bid. – Tom Chadwin Feb 4 at 8:59
  • Since 1 year (!) the same bug. I can not use the fantastic plugin qgis2web within qgis3. What`s the matter, qgis programmers? – Jürgen Aug 4 at 17:47
  • Same bug for QGIS 3.4.x with Windows 10 and QGIS 3.8.1 with Ubuntu 18.04 – Jürgen Aug 8 at 18:36
0

Photos in popups have not been looked at for a little while in qgis2web. This is because of a current upstream bug in QGIS affecting the Attachment edit widget. Until this bug is fixed, it will be difficult to make much progress on this issue. Here's the QGIS bug: https://issues.qgis.org/issues/19118

  • please wait, I am writing..... – Jürgen Aug 6 at 15:25
  • Hello Tom, could you please write an answer/comment to this thread within github?: github.com/qgis/QGIS/pull/30930 My understanding is: We could not insert images for qgis2web without this function. If this is right, please answer m-kuhn there, that we need this function. I think, he want hear your opinion as the developer of the plugin qgis2web. Your answer has more weight. It is possible, that I do not know if I have an alternative possibility to show the images as point-popup within qgis2web. There are any possibilty? Maybe a circuitous solution? Thank you very much! – Jürgen Aug 6 at 15:36

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.