{"action":"created","issue":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/661","repository_url":"https://api.github.com/repos/tomchadwin/qgis2web","labels_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/661/labels{/name}","comments_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/661/comments","events_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/661/events","html_url":"https://github.com/tomchadwin/qgis2web/issues/661","id":342581945,"node_id":"MDU6SXNzdWUzNDI1ODE5NDU=","number":661,"title":"Photos not showing in popup","user":{"login":"HerbFargus","id":10035308,"node_id":"MDQ6VXNlcjEwMDM1MzA4","avatar_url":"https://avatars2.githubusercontent.com/u/10035308?v=4","gravatar_id":"","url":"https://api.github.com/users/HerbFargus","html_url":"https://github.com/HerbFargus","followers_url":"https://api.github.com/users/HerbFargus/followers","following_url":"https://api.github.com/users/HerbFargus/following{/other_user}","gists_url":"https://api.github.com/users/HerbFargus/gists{/gist_id}","starred_url":"https://api.github.com/users/HerbFargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HerbFargus/subscriptions","organizations_url":"https://api.github.com/users/HerbFargus/orgs","repos_url":"https://api.github.com/users/HerbFargus/repos","events_url":"https://api.github.com/users/HerbFargus/events{/privacy}","received_events_url":"https://api.github.com/users/HerbFargus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-19T05:16:36Z","updated_at":"2018-07-19T05:54:03Z","closed_at":null,"author_association":"NONE","body":"Qgis2Web Version: 3.1.1\r\nQGIS Version: 3.0.2-Girona\r\nPlatform: Windows 10\r\n\r\nI apologise in advance if this is a user error, if so disregard. \r\n\r\nIn my case I have a field with a list of URLS and I want the URLS to show up as a photo in the popup instead of an HTML Link.\r\n\r\nHere is the layer:\r\n[test.zip](https://github.com/tomchadwin/qgis2web/files/2208289/test.zip)\r\n\r\nQGIS 3 is a bit different and has an attachment widget with options to specify an `image` or `web view` whereas qgis2.X just has a `photo` and `web view` widget on their own\r\n\r\n![image](https://user-images.githubusercontent.com/10035308/42922650-cc7b64d2-8ade-11e8-83ef-47cb84118860.png)\r\n\r\nIf I set it to web view:\r\n![image](https://user-images.githubusercontent.com/10035308/42922670-e34c14d6-8ade-11e8-894b-78b90ebd7bab.png)\r\n\r\nUsing Identify in QGIS yields the following which is ideally how it will look in the web map:\r\n\r\n![image](https://user-images.githubusercontent.com/10035308/42922708-1e3c5a2e-8adf-11e8-8b95-236a01d97748.png)\r\n\r\nIf I export the layer in leaflet or openlayers I just get a clickable link:\r\n\r\n![image](https://user-images.githubusercontent.com/10035308/42922744-5339588a-8adf-11e8-849f-0f78b947a492.png)\r\n\r\n\r\nIf I set it to image:\r\n\r\n![image](https://user-images.githubusercontent.com/10035308/42922682-f8f91bf8-8ade-11e8-87be-b306bef7b591.png)\r\n\r\nbasically the same, just a clickable link:\r\n\r\n![image](https://user-images.githubusercontent.com/10035308/42922744-5339588a-8adf-11e8-849f-0f78b947a492.png)\r\n\r\nI'm not sure if this is due to the changes in QGIS3, or if I am misunderstanding how it is supposed to work (maybe I'm missing a setting?). I can manually generate HTML tables if I need to but I presume that automation is the main intent for the plugin.\r\n\r\nLet me know if you need anything else, I'm happy to provide any logs or additional testing as needed.\r\n"},"comment":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/comments/406162890","html_url":"https://github.com/tomchadwin/qgis2web/issues/661#issuecomment-406162890","issue_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/661","id":406162890,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjE2Mjg5MA==","user":{"login":"tomchadwin","id":7840213,"node_id":"MDQ6VXNlcjc4NDAyMTM=","avatar_url":"https://avatars0.githubusercontent.com/u/7840213?v=4","gravatar_id":"","url":"https://api.github.com/users/tomchadwin","html_url":"https://github.com/tomchadwin","followers_url":"https://api.github.com/users/tomchadwin/followers","following_url":"https://api.github.com/users/tomchadwin/following{/other_user}","gists_url":"https://api.github.com/users/tomchadwin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchadwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchadwin/subscriptions","organizations_url":"https://api.github.com/users/tomchadwin/orgs","repos_url":"https://api.github.com/users/tomchadwin/repos","events_url":"https://api.github.com/users/tomchadwin/events{/privacy}","received_events_url":"https://api.github.com/users/tomchadwin/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T05:54:03Z","updated_at":"2018-07-19T05:54:03Z","author_association":"OWNER","body":"Others have reported this (https://twitter.com/SylMaithya/status/1012380722148139009), but there doesn't seem to be an issue here, so thanks for opening this.\r\n\r\nMy problem is that I can't investigate because I'm getting a QGIS crash when I set the widget type to Attachment. I've opened a QGIS issue:\r\n\r\nhttps://issues.qgis.org/issues/19118\r\n\r\nUntil the QGIS issue is fixed, I can't really make any progress."}}
{"actor":{"display_login":"tomchadwin"}}