Enable PDF preview with Avo field file(s) #1497
-
I know how to do it in ROR but what would be the best strategy with Avo : tool, custom firlf, eject, wrapper ... ? Thx by adance for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
adrianthedev
Dec 24, 2022
Replies: 1 comment 2 replies
-
Hey @lpe. It depends on where you want to show it. If that PDF is a column in the database, the best way would probably be a custom PDF field, or if you want more space to display it in, a custom tool. Another strategy might be to duplicate (or extend and push in a PR) the file/files field to support that. The preview can be a small preview in the gallery (for the files field) and on click could open up a modal showing a bigger version. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
lpe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @lpe. It depends on where you want to show it.
If that PDF is a column in the database, the best way would probably be a custom PDF field, or if you want more space to display it in, a custom tool.
Another strategy might be to duplicate (or extend and push in a PR) the file/files field to support that. The preview can be a small preview in the gallery (for the files field) and on click could open up a modal showing a bigger version.