Allow rendering of conversions for multiple mime types #2281
Answered
by
chris-ware
chris-ware
asked this question in
Ideas
-
Currently the Htmlable class locks media from being rendered if it isn't an image, but if a conversion is being loaded, surely it will always be an image? At the moment, custom code has to be written to render PDF thumbnails, and likely for other media types too. It's a bit beyond my skills to implement a suitable PR with tests at this time. |
Beta Was this translation helpful? Give feedback.
Answered by
chris-ware
Feb 6, 2021
Replies: 1 comment
-
Actually, it may be as simple as adding an empty check to the toHtml method on HtmlableMedia, in which case, I can add a PR for that |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
freekmurze
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Actually, it may be as simple as adding an empty check to the toHtml method on HtmlableMedia, in which case, I can add a PR for that