Improve display of PDF attachments; Add support for full resolution #5962
bronwyncombs
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
The existing user preference to display attachments as either thumbnail or full resolution does not apply to .pdf attachments, these always display as a thumbnail from gallery and on forms.

Attachment Gallery:
Screen.Recording.2024-06-27.at.1.02.07.PM.mov
On Record:
Screen.Recording.2024-06-27.at.1.03.56.PM.mov
When full resolution, attachments resize along with the dialog but thumbnails remain the same size regardless of dialog size. This makes it effectively impossible to adequately view .pdf attachments within the software without opening in a new tab.
Screen.Recording.2024-06-28.at.9.45.02.AM.mp4
Describe the solution you'd like
Support full resolution displays of PDFs in preferences; either changing the existing pref or adding a separate one for .pdf displays
Describe alternatives you've considered
Some databases (https://ichthyology.specify.ku.edu/specify/) have attachment forms that display pdfs in the pdf viewer, although the source of this behavior is unknown.
I believe implementing this would be a more ideal solution as the pdf area is resizable with dialog and the user can use +/- to select the preferred zoom.
Reported By
Nate @ Ohio Mollusks
Additional context
Ichthyology DB doesn't show or allow adding an attachment view def in visual editor:
But the XML can be found in the XML editor view:
Beta Was this translation helpful? Give feedback.
All reactions