Closed loesungsmittel closed 3 weeks ago
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Medialibrary Pro’s Livewire component has a bug on PDF previews. This was not an issue before upgrading Livewire to v3 and Medialibrary to the latest version. When using a livewire component, uploaded PDF file’s preview is broken. The reason is that conversion of a PDF file is still a PDF file, instead of an image. Conversion PDF file contains a cropped image of a preview inside it, and the browser is not able to render PDF file as an image. But after attaching it to an actual model, preview is correct and is an image. So the issue is only on TemporaryUpload model, but I can not find the reason why it is happening.