Feature request #15925

External resource: being able to store more than one file (photo) in the same field (with possible preview)

Added by Harrissou Santanna 4 months ago. Updated 4 months ago.

Status:Closed Start Date:12/01/2016
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Edit widget
Target version:Future Release - Nice to have
Platform: Resolution:wontfix
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

I'm exploring the external resource widget in order to store photos in a field. Very handy! Thanks for this.
Sometimes, I find that I have more than one photos that sound interesting to keep for a given feature. But it doesn't make sense to create another field.
What about a new feature that helps to store in the same field many resources (not always the same number per features): a kind of comma-separated list of photos path that could however be previewed in the feature form.

History

Updated by Nyall Dawson 4 months ago

Harrissou,

I believe this use case is better addressed by creating a separate child table for photos and setting up a 1 to many relation between the layers. This setup is already fully supported in QGIS.

Updated by Harrissou Santanna 4 months ago

Good point, Nyall. I need to rethink my DB structure if I really want to store more than one file.
Btw, I was planning to test and update 1-n (or n-m) relation documentation but didn't have data. It seems that i have a good case now.

Is it worth keeping this request opened?

Updated by Nyall Dawson 4 months ago

  • Status changed from Open to Closed
  • Resolution set to wontfix

I don't think so

Also available in: Atom