Hi I need a file uploading system where people can upload video or photos. They should be able to preview the file and choose between 3 filters:
0 - Normal.
1 - Black/White.
2 - Warm colors.
3 - Cold Colors.
This is what I need it to do:
1. Select between these options: Choose image / Choose Video /Take image / Take video.
2. Video max length 10 sec.
3. photo / video compression: Make a thumbnail and compress the standard file size.
- Compress video to webm and max width 700 (should max be 1mb in size)
- compress image to max width 800 and make it JPEG, 80% quality.
4. When image/video is chosen, go to preview and choose a filter and the user should be able to type the following informations:
- title (required)
- description (not required)
- tags (required)
- category (not required)
5. On submit - Store file inside folder "uploads"
6. On submit - Store all information inside database "posts"
- userId , thumbURL , fileURL , title , description , tags , date_created
7. The code must be secure for spamming, injections, etc.
I've uploaded an example of the display, and uploaded a code for image compression.
For Help, take a look at:
[url removed, login to view]