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

Photo preview in parent relation feature is broken when photo field is not selected as layer display field #2058

Closed
ekingapex opened this issue Apr 22, 2022 · 1 comment · Fixed by #2860
Assignees
Labels
bug forms related to attribute forms relations

Comments

@ekingapex
Copy link

When viewing the form of a parent feature with a 1:N relation with a child layer for associating multiple photograph attachments with the parent feature, Input is only able to display the image preview when the attribute index of the field containing the attachment widget/file path on the child feature is in attribute index 1. If the attribute index for the file path is anything other than 1, the parent feature displays a broken image link icon instead of the photograph. Relationship associations all work properly and the image preview will work correctly in the child feature's form, the issue exists specifically on the parent feature form.

@PeterPetrik PeterPetrik added bug forms related to attribute forms labels Apr 23, 2022
@saberraz
Copy link
Contributor

A quick work-around for this could be a plugin configuration to enable/disable the photo preview for each relation.

@PeterPetrik PeterPetrik self-assigned this Oct 5, 2023
@PeterPetrik PeterPetrik changed the title Input 1:N Photo Preview Bug Photo preview in parent relation feature is broken when photo field is not selected as layer display field Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug forms related to attribute forms relations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants