Skip to content

Mobile App Preview Panel Settings #439

New issue

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

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

Already on GitHub? # to your account

Closed
raherin opened this issue Mar 5, 2024 · 1 comment · Fixed by #490
Closed

Mobile App Preview Panel Settings #439

raherin opened this issue Mar 5, 2024 · 1 comment · Fixed by #490
Assignees
Labels
qgis QGIS

Comments

@raherin
Copy link

raherin commented Mar 5, 2024

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

@saberraz saberraz added the bug bug in code/vuepress/infrastructure label Mar 5, 2024
@raherin
Copy link
Author

raherin commented Mar 5, 2024

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.

@alex-cit alex-cit added qgis QGIS and removed bug bug in code/vuepress/infrastructure labels Mar 8, 2024
@alex-cit alex-cit self-assigned this Jun 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
qgis QGIS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants