MerginMaps / MerginMaps/qgis-plugin
Expression for images in tooltip is broken in QGIS 3.36.0
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 20
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 5
Description
When adding an image preview to the tooltip as recommended in our [documentation](https://merginmaps.com/docs/gis/features/#image), the image does not appear in the tooltip in QGIS (see screenshot). However, the image still appears in the feature preview on the mobile app.


In order to get the image to appear in the tooltip on QGIS, the following script must be used:
```
```
However, when the script above is used and feature is opened in the mobile app, the image will not be scaled so it isn't really visible due to the size of the image.

This currently only affects QGIS 3.36.0, we've tested it on 3.34LTS and everything still works as expected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented image-tooltip expression in QGIS 3.36.0, then compare its behavior with QGIS 3.34 LTS and the mobile feature preview. Done means the image appears in the desktop tooltip without breaking its visibility or scaling in the mobile app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100