Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images in Select Info are presenting as text #457

Closed
terry-longmacch opened this issue Feb 9, 2020 · 5 comments
Closed

Images in Select Info are presenting as text #457

terry-longmacch opened this issue Feb 9, 2020 · 5 comments

Comments

@terry-longmacch
Copy link
Collaborator

When a layer has Info1 or Info2 select configured to show an image - the same configuration that worked in version 2.7 and showed the image, only shows a string in version 3.0.

Version 2.7
Version 2_7

Version 3.0
Version 3_0

@kalle84
Copy link

kalle84 commented Jun 18, 2020

having a similar issue.

@terry-longmacch
Copy link
Collaborator Author

Could have added HTML to the query, but have hard-coded a solution for fields ending with ".jpg", ".jpeg" or ".png".

@HeatherHillers
Copy link
Contributor

@terry-longmacch

Hi, is this ticket deployed in Version 3.0.6? I am having a similar issue migrating a Roam 2.7 project to Roam 3. Although here instead of a string in the attribute list I see a broken image link The image is saved as expected in _images and shows in if I open the feature form. -Thanks!

@terry-longmacch
Copy link
Collaborator Author

Hi @HeatherHillers ,

I am not having this issue any more, but I have the image path hard-coded in the Info1/Info2 queries.

For example:
SELECT '.._images' || filename AS "Photo"
FROM cemeteryphotos
WHERE plotid = :mapkey

Hopefully that works for you. Let me know if you are still having issues.

Regards,
Terry

@HeatherHillers
Copy link
Contributor

Hi @terry-longmacch,

I will try your workaround today, thanks!

I have opened a fresh issue on this, because I was able to reproduce it from a fresh project pulled from the master. I'm tinkering with it a bit in my free time. I almost have it.

#476

Thanks,

Heather

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Update for QGIS 3
  
Awaiting triage
Development

No branches or pull requests

3 participants