Unfortunately, firebug doesn’t show anything. Just nothing happens. Even the “Save” button at the end of my view doesn’t work. If I comment out the widget, everything works, but with the widged, nothing
First i thought its maybe because of form-inside-form. But the widget doesn’t print any form, only an input, right?
Thanks Asgaroth but I am having no clue how to achieve a working widget, even with the wiki. My view consist of a big form with different data. In between I’d like to have this upload to add up to 4 images. Any hints how I can set up the widget to work inside my form?
I’m trying to use this extention for my gallery but the option “acceptFileTypes” doesn’t work, can you kindly advice how to limit file types to use only jpg and png? I read the wiki but i get same errors in firebug “this.options.acceptFileTypes.test”
This widgets is for asynchronous file upload, meaning you can start to upload some files while adding other files for example, It looks like your use case is abour syncrhonous file upload with some other data.
This works for me, you can see any type of file in the browse window, but when you select the files the widget warns you and allows you to upload only valid file types
XUploadAction its just an example of handling simple file uploads, you should normaly, either modify the XUploadACtion (not recommended) or create your own Upload Action to handle all your requirements.
I am having a problem with the event that is triggered after each uploaded successfully completed. I tried events like ‘onComplete’ and ‘fileuploadcomplete’ but nothing triggers my alert box. Do I have to uncommment the events in jquery.fileupload.js?
It was an old post, don’t pay attention, the extension is up to date.
Just copy them to your model views folder, edit them, render them with renderPartial, or include the code inside your normal views. and call the widget like:
I have some problems when trying to submit additional data and then save it into database. I have tried the wiki many times but i still can’t understand how to implement it. Here the simple case, i want to save some of image’s information such as title, caption, and description. Can anyone give me some example about it with ajax or without ajax ?