MerginMaps / docs

Documentation repository for merginmaps.com/docs
https://merginmaps.com/docs
Creative Commons Attribution 4.0 International
12 stars 15 forks source link

Mobile App Preview Panel Settings #439

Open raherin opened 2 months ago

raherin commented 2 months ago

When using the latest version of QGIS(3.36.0), the settings for image preview in the documentation no longer works. The preview no longer shows the image when the following script is used:

# image
file:///[%@project_folder%]/[% "image_1" %]

The behaviour is QGIS is as follows: image image

Instead, the following script must be used for the preview to work correctly (the width is optional but improves behaviour in QGIS):

<img src='file:///[%@project_folder%]/[% "photo" %]' width='250'/>

image

raherin commented 2 months ago

Update The current version in the doc works on the mobile app and it is only QGIS 3.36 that the tooltip does not work as it is currently written. However, if you use the html script I've included above, the mobile app does not scale the image properly. We probably need to update the function in the app and then update the documentation. Maybe in the meantime we just explain the the tooltip will not work in QGIS 3.36 or higher.