Grocery CRUD multiple upload field - php

I am working on the admin section of a website in codeigniter. I am using Grocery CRUD for the
add edit delete operations. I've used 'set_field_upload' function to provide a video upload field inside the form. I need to add a thumbnail for the video, so require another upload field.
Is it possible to implement multiple upload field inside the form using grocery crud? Are there any other methods to create thumbnail other than ffmpeg ?

I recommend invoking ffmpeg on the server once the upload is complete using PHP's exec(). Have a look at these SE answers for some ideas:
FFMPEG Generate N Evenly Spaced PNG Screenshots
Video Thumbnails using ffmpeg
Temporarily store the images generated by ffmpeg, echo their paths back to the client using AJAX and have them select the one they wish.

Related

using angularjs how can i get thumbnails of pdf and video?

I want to make thumbnails of pdf,images and video file using angularjs
I found one git example for that
https://github.com/aztech-digital/angular-thumbnails
Please go through the link i have tried this but i am new in angularjs and I dont know how to call a directive.
Please help me to implement this i am using php codeigniter with angularjs
what I want is I have an option to upload multiple files which will contain pdf,doc,docx,xls,mpg,jpg etc.I want to create a thumbnail of all these type of files. for eg: if a case I am uploading pdf the first page of pdf should be the thumbnail of that file.
how i can implement this example
here i saw one example which will create only for images
Thank you

Plupload Image Upload preload images OR add images programmatically

I am using Plupload to allow users to upload images in a form. I am able to successfully upload images using Plupload. My program also allows users to save the form and continue editing/posting later. Now when the user resumes the form later I want to pre-load those files in Plupload from the server. I am not sure how to implement this.
I have been trying to implement addFile, but cannot implement. I would like to preload or add files to plupload programmatically.
Link:
Add File Method
Your help would be appreciated!

How can i upload more than one jpg with AJAX and symfony2 Doctrine

I know that its easy to upload single image with symfony and doctrine2.
But i want to have system like Google docs where i can see the progress bar of current image upload using doctrine2.
I know want to use thirdparty plugin.
Because i need to create an entity for everyimage and store it database with some detail. So i can just bulk upload with third party software in directory
is it possible or not
You may try AX Ajax Multi Uploader
Here is their homepage http://www.albanx.com/ (not relevant though)
You can use javascript to upload the file at client side .
Refer http://fineuploader.com/demos.html.
you can browse your files and trigger upload automatically or if you want to process the data at client side (say for a preview) you can process and trigger the upload manually as well.
you can also refer http://www.queness.com/post/11434/7-javascript-ajax-file-upload-plugins
and choose the lib which fits your requirement.

Uploading multiple photos in a form

I have a photo-upload form that allows a user to upload 1 photo. But my users are complaining that they want to upload many photos. How can I allow them to do that?
Right now I have this form for uploading:
http://www.hikingsanfrancisco.com/account/upload_hike_photos.php?hike_id=58
(I tried to paste code, but it didn't work somehow)
Any thoughts how to best go about it? Is there a way to loop through the selected files maybe? (I am using PHP)
Thanks,
Alex
Add more fields for uploading files, I don't know, maybe file or six, and the upload button will check through php which of them have information to start the upload, 1 at a time or course, in a php loop.
Here is a plugin that uses flash + javascript (MooTools) to do file upload. The upside to this plugin is that it's supported and you can Github it. It can have multiple photo uploads, limit max size, etc, and verify file information before upload. Also, has example for backend using PHP on how files are handled after it is uploaded.
Fancyupload
Features
Select and upload multiple files
Filter files by type in the select
dialog A lot of possible Events to
add your own behaviour
Show and filter useful file information before
the upload starts
Limit uploads by file count, type or size
Platform and server independent, just needs Flash9+ (> 95% penetration) which works on all browsers with it installed
Here is the jQuery plugin that does the same as the MooTools one:
Uploadify
Add new file inputs. Or use smth like swfuploader for file uploading.

Upload an image using class.upload.php via AJAX, display image in form using jQuery

I am using class.upload.php to handle an image upload from a form that submits employee details to a MySQL database. class.upload.php does EXACTLY what I want it to do, resize the image and rename it - what I am now trying to accomplish is to upload via Ajax after the user selects the file and then display it in the form while they continue entering details. How would this best be accomplished with jQuery?
I have used Uploadify to serve this purpose on several websites. It works quite well once you get the hang of it.

Categories