php
- Project
TYPO3 HTML5 File API Asynchronous Upload based on helhum/upload_example
- Author
- Repository
At Github philippjbauer/h5upldr
- Credit
- Helmut Hummel - for original code base
Overview:
Can be wrapped around a modified version of the original UploadViewHelper and provides asynchronous upload functionality.
Just define the namespace in your template and use the ViewHelper as follows:
{namespace bo=Bureauoberhoff\H5upldr\ViewHelpers}
<bo:widget.ajaxupload placeholder="Please select a JPG file" buttonLabel="Select JPG" storageUid="1" storagePath="content" uploadTypes="jpg,png,gif">
<bo:form.upload property="image">
<!--
This is optional and can be edited according to filetype.
Make sure to edit the CSS file to show the '.ajaxupload-original' container (it's hidden on default).
<f:if condition="{resource}">
<f:image image="{resource}" alt="" width="50" />
</f:if>
-->
</bo:form.upload>
</bo:widget.ajaxupload>