MerginMaps / MerginMaps/mobile

Online image view setting

Open
#3,791 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

Problem:
You cannot simply put an online image path to a photo field without an additional QGIS setting.

Scenario
1. Create a new project from the App with at least one photo attribute
2. Upload the project
3. Open the project in QGIS and add a path to an online image
4. You cannot preview the image when opening the feature in the App nor QGIS

Background:
The default photo field (when created from the App) uses a `Relative` path to the photos. Online image preview requires an `Absolute` path to 'the file'. If you change the path to `Absolute` as step 5. and sync, the image should appear in the App.

Desired behavior:
The online image should be automagically recognized regardless of the path option, right? @tomasMizera

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the scenario by creating a project with a photo attribute, adding an online image path in QGIS, and opening the feature in the App and QGIS. Trace the photo preview handling; done means online images are recognized and previewed without changing the path option to Absolute.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.