Käynnissä

Upload photo API for my WebSite

For my WebSite I need a new API to let at my users upload images from local PC / laptop to server or from an external URL.

DESCRIPTION:

I need to give the chance at my users to upload photos (.jpg, .png, .gif) to the website or use a external URL to provide the picture.

Is necesary to do this with AJAX and without a postback. When the file it's uploaded it will be resized and saved in an specific path.

For the project it's possible to use jQuery and PHP running in Apache for Windows.

STEP BY STEP:

1. In a form with 3 input the user can choose to upload a photo or provide the photo by an URL.

(See attached file: [url removed, login to view])

2. In both case (upload or provide by URL) the photo will be saved on the server (using AJAX and no postback, no iFrames... JUST AJAX!!! <-- IMPORTANT, I am in a disput for this right now :-/) and will be resized: max. width of 960px or max. heigth of 720px and 72dpi (proportionally).

3. If the uploaded / imported photo's size is less than 100px * 75px then DO NOT upload / import the photo and throw a message to the user ("the photo is too small to be uploaded")...

4. When the photo is uploaded then create a copy of it but with a small size (100x75, proportionally)

5. Once the picture is uploaded then trigger a JavaScript API's event with the result: file final path. For ex.: onSuccess(originalSizePath, smallSizePath)

6. If during the upload something fail then trigger an JavaScript API's event to informe that. For ex.: onError(errorMsg)

7. Everything will be encapsulated into a jQuery API.

For example:

- if the uploaded photo's size is 1500x1000 the final size will be 960x640.

- if the uploaded photo's size is 1000x2500 the final size will by 288x720.

- if the uploaded photo's size is 520x400 this will be the final size (no resize!)

3. In a DIV appear the uploaded photo with the description entered.

(See attached file: [url removed, login to view])

ADITIONAL INFORMATION:

Is necesary to encapsulate all the functionality into a .JS file with jQuery and into a PHP file for the code-bihend.

Taidot: AJAX, HTML, Javascript, jQuery / Prototype, PHP

Näytä lisää: step to create website, see my picture, my website to create, my website create, js for, create a copy of a website, jquery ajax api, javascript less than, windows api, upload to server, postback, photo s, my laptop, informe, disput, ajax upload, php file upload form, upload gif, jquery upload photo, jquery ajax message, php ajax form upload, apache javascript, file upload resize, png resize, gif images website

About the Employer:
( 12 reviews ) Buenos Aires, Argentina

Projektin tunnus: #1722295

Myönnetty käyttäjälle:

boygiandi

Hi. I can do it. Please check your Pm. Thanks

150 $ USD 1 päivässä
(41 arvostelua)
5.5

6 freelanceria on tarjonnut keskimäärin 138 $ tähän työhön

keiespro

Hello. Here is my bid. Please give me the task. I can do it.

200 $ USD 2 päivässä
(129 arvostelua)
6.4
Ajcm623

hello i have gone through your requirement plz check my pm for further info thank u

140 $ USD 3 päivässä
(72 arvostelua)
6.1
Kashif927

Please check PM.

150 $ USD 3 päivässä
(12 arvostelua)
3.2
patfor

I would propose the use of plupload, I have done exactly what you are describing in the past and have some code ready, would be glad to work on this...

200 $ USD 1 päivässä
(0 arvostelua)
0.0
Tuktech

hi...done this type of work

100 $ USD 3 päivässä
(0 arvostelua)
0.0
mskkec

hi i completed this...

90 $ USD 0 päivässä
(0 arvostelua)
0.0