0

What are the different frontends that can be set with OneupUploaderBundle in the config.yml file? I googled this and I found some frontend like: mooupload, blueimp.

What is the full list?

# app/config/config.yml
oneup_uploader:
    mappings:
        gallery:
            frontend: blueimp # or any uploader you use in the frontend

Is it possible to use VichUploaderBunde as frontend in OneupUploaderBundle?

gagarine
  • 4,190
  • 2
  • 30
  • 39
Amine Jallouli
  • 3,919
  • 8
  • 36
  • 73

2 Answers2

3

If you are curious about what type of configuration it supports and have no time to look in the documentation, then you can open the OneupUploaderBundle Configuration.php and take a look inside:

 ->enumNode('frontend')
 ->values(array('fineuploader', 'blueimp', 'uploadify', 'yui3', 'fancyupload', 'mooupload', 'plupload', 'dropzone', 'custom'))
 ->isRequired()
Martin Fasani
  • 825
  • 7
  • 20
2

VichUploaderBundle is not a "frontend" bundle. It just provides a way to handle uploads and persist them in entities/models. You can use VichUploaderBundle or OneupUploaderBundle but not both. However, you should be able to use any frontend you want (dropzone, FineUploader, MooUpload, etc.), it will just require a bit of integration work.

K-Phoen
  • 1,260
  • 9
  • 18