Open ericappcomm opened 5 years ago
Hi,
I cannot upload files large than 4 MB. It does not contain a base64 image.
<div class="dropify-preview" style="display: block;"> <span class="dropify-render"> <i class="dropify-font-file"></i> <span class="dropify-extension">png</span> </span> <div class="dropify-infos">
<div class="dropify-preview" style="display: block;">
<span class="dropify-render">
<i class="dropify-font-file"></i>
<span class="dropify-extension">png</span>
</span>
<div class="dropify-infos">
A smaller images wrks fine
<div class="dropify-preview" style="display: block;"> <span class="dropify-render"> <img src="data:image/png;base64,iVBOR...5CYII="> </span> <div class="dropify-infos">
<img src="data:image/png;base64,iVBOR...5CYII=">
How can I upload large files? (up to 20MB)
try changing the "maxFileSizePreview" option to a higher value, by default it is "5M" which prevents the image from being loaded in base64
Hi,
I cannot upload files large than 4 MB. It does not contain a base64 image.
<div class="dropify-preview" style="display: block;">
<span class="dropify-render">
<i class="dropify-font-file"></i>
<span class="dropify-extension">png</span>
</span>
<div class="dropify-infos">
A smaller images wrks fine
<div class="dropify-preview" style="display: block;">
<span class="dropify-render">
<img src="data:image/png;base64,iVBOR...5CYII=">
</span>
<div class="dropify-infos">
How can I upload large files? (up to 20MB)