Commit f8f446f0 by taufikyu

max file size

1 parent c94059ea
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
ext str(cstruct.get('filename').split('.')[-1:][0]).lower()|[]; ext str(cstruct.get('filename').split('.')[-1:][0]).lower()|[];
fname str(cstruct.get('filename'))|''; fname str(cstruct.get('filename'))|'';
delete cstruct.get('delete')|''; delete cstruct.get('delete')|'';
maxsize field.widget.size|2097152;"> maxsize field.widget.size|5242880;">
${field.start_mapping()} ${field.start_mapping()}
<img id="preview-${oid}" alt="" src="${preview_url}" style="width:100px;height:auto;display:block;" <img id="preview-${oid}" alt="" src="${preview_url}" style="width:100px;height:auto;display:block;"
onload="window.URL.revokeObjectURL(this.src);"></img> onload="window.URL.revokeObjectURL(this.src);"></img>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!