-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demo Screenshots #4
Comments
Oh, sorry for the messy readme. |
Can you also Upload a test complete project so any one can understand how its work. doc is not easy no understand. thanks |
Hi, mamunhq. |
Thanks :) |
@SUKOHI i need one more information line when i want to save this multiple image to database with outhers form value how can i save? |
Hi, mamunhq. However, you can save the form data when submitting like the below. (in a controller action to submit data) $surpass = Surpass::path($this->_surpass_test_path)->dir($this->_surpass_test_dir); foreach($image_file_ids as $image_file_id) { // $image_file_id refers to ID of DB table called image_files.
} *Note: I haven't tested it yet, sorry. or It's not a stylish way but you might save them by adding the form values to TUSurpassTest.formData in JavaScript.("TUSurpassTest" might be different from yours. It depends on the directory name you'd like to save) |
Actualy i have a from where i need to atatch multiple images. i am trying to use https://blueimp.github.io/jQuery-File-Upload/ this is my view but when i submit the form its shoe null valu why ? array(7) { ["_token"]=> string(40) "jBhSOk5pKt9DPvglv6MJqWr2nbjR1YgdJeDJ4Ctt" ["title"]=> string(0) "" ["description"]=> string(0) "" ["price_30_min"]=> string(0) "" ["price_60_min"]=> string(0) "" ["price_90_min"]=> string(0) "" ["files"]=> array(1) { [0]=> NULL } } |
I already upload image( its save the files)before submit this form. |
Hi, mamunhq. I think jQuery-File-Upload can only upload images. $('#id_name').fileupload({
}); |
Would you be able to take some screenshots and put them in the readme? It's hard to know what the anticipated output is on this. For example, it doesn't look like you support the strongest feature of this JS plugin, https://blueimp.github.io/jQuery-File-Upload/. Checkout the Basic Plus UI view.
The text was updated successfully, but these errors were encountered: