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.
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.
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.