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

Read web #118

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Read web #118

wants to merge 5 commits into from

Conversation

sickel
Copy link

@sickel sickel commented Aug 26, 2024

To share a set of pictures with other QGIS users, it may be easier to access the images on a web server.

In our case, we use sharepoint synced to local disk. That means I can access images locally on c:/users/morten/onedrive/company/projectname/photos, whereas my colleague dave would see the same directory as c:/users/dave/onedrive/company/projectname/photos, but we can both access them on https://companyshared,sharepoint.com/sites/department/Shared documents/projectname/photos

So, to make it possible to create a photos layer that is useable for both of us, I have added two fields on the main form:

Relative root, that is what I want to get rid of from the initial path, i.e. in my case "c:/users/morten/onedrive/company/"
Web root, that is what should be added to get the correct url, i.e. in my case https://companyshared,sharepoint.com/sites/department/Shared documents/

The url will be stored in a new field 'Link' in the data file.

If Relative root is empty, the input folder will be used, if Web root is empty, Link will be set as the total path of the image.

For some strange reason, the image name is (still) not clickable on the first loading of the photo viewer. browse back and forth and it will come up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant