Symfony 3.1 and OneUpUploaderBundle + Blueimp = UploadListener is not called Symfony 3.1 and OneUpUploaderBundle + Blueimp = UploadListener is not called symfony symfony

Symfony 3.1 and OneUpUploaderBundle + Blueimp = UploadListener is not called


Just listen to the right event. Event exchange contains the name of your mapping, in order that you can implement a specific logic to this one that will not affect the others.

Event to this format.

oneup_uploader.post_upload.{mapping}

In your case it will give

oneup_uploader.post_upload.gallery

For more informations, please readhttps://github.com/1up-lab/OneupUploaderBundle/blob/master/Resources/doc/events.md