PHP photo upload app with multiple picture resizes and an ajax response

Cancelado Publicado Jun 26, 2011 Pagado a la entrega
Cancelado Pagado a la entrega

This project requires you to deploy to two separate HTTP servers, one for a simple HTML client and another to for the PHP server-side uploader script. Instructions are included below.

I am looking for a javascript and PHP expert for whom this job is a breeze. Please impress me for there will be many future projects.

## Deliverables

1. Check out the uploadify "Custom Demo" here: [url removed, login to view]

2. Download the uploadify sources from [url removed, login to view]

3. Reproduce the Custom Demo on your HTML and php server as follows: the client HTML file should be on one server,

and the PHP file should be on a different server (under a different ip address / domain). It should support

asynchroneous upload of multiple pictures of various formats (jpg,png,gif,etc.).

Enhance the "Custom Demo" by adding the following functionality:

4. For each file you upload, save the file on the PHP server in its natural size, and then save several resized

copies by sending a "resize" parameter in the multipart request. The resize parameter should conform to the

following format:

resize=orig,300x300,30percentx30percent,10percentx,x20percent,x150,200x

/* In this example, we make 3 additional copies of each uploaded picture.

The original image is saved because of the presnece of the "orig" keyword

The first copy will be 300x300 pixels.

The second copy will be 30% its original width and 30% its original height.

The third picture will be 10% of its original width, and its height will be adjusted proportionally.

The fourth picture will be 20% of its original height, and its width will be adjusted proportionally.

The fifth picture's height will be changed to 150 pixels, and its width will be adjusted proportionally.

The sixth picture will have its width chagned to 200 picels, and its height will be adjusted proportionally.

*/

Save each file with the following filename format:

originalFilename_[timestamp]_[size].[ext]

Where:

[timestamp] is the timestamp at the time of the pictures saving,

[ext] is the original extension and

[size] is a representation of the size

(jpg,gif,png,etc.)

5. for each uploaded picture, return via AJAX the following information about this picture, in XML format:

<picture>

<original>

<url>[url removed, login to view][timestamp][url removed, login to view]</url>

<width>...</width> <!-- absolute width in pixels -->

<height>...</height> <!-- absolute height in pixels -->

<filesize></filesize> <!-- in kilobytes -->

</original>

<resized dimentions="300x300">

<url>...</url>

<width>...</width> <!-- absolute, in pixels -->

<height>...</height> <!-- absolute, in pixels -->

<filesize></filesize> <!-- in kilobytes -->

</resized>

<resized dimentions="30percentx30percent">

<url>...</url>

<width>...</width>

<height>...</height>

<filesize></filesize> <!-- in kilobytes -->

</resized>

...

</picture>

Receive back the ajax object, alert or display the data it returns on the page and display the images on the page.

7. Upload to my server with provided credentials and test. Please make sure the upload widget is secured and the image directory isn't exposed to the world.

* * *This broadcast message was sent to all bidders on Monday Jun 27, 2011 1:15:51 PM:

Clarification: The "two servers" requirement is best described as "Uploading files cross-domain, ajax-style" and can be found in this example blog post: [url removed, login to view] I basically want the described easyXDM feature implemented but with a nice multi-file upload interface. Please note that this is a different approach from the standard client-server upload as this doesn't require the client application to be on the same server as the upload script. Please let me know if you can do this.

Amazon Web Services JavaScript PHP

Nº del proyecto: #3406961

Sobre el proyecto

3 propuestas Proyecto remoto Activo Aug 10, 2011

3 freelancers están ofertando un promedio de $31 por este trabajo

sytneivw

See private message.

$42.5 USD en 3 días
(24 comentarios)
3.9
jeewiya

See private message.

$25.5 USD en 3 días
(1 comentario)
0.0
ahallicks

See private message.

$25.5 USD en 3 días
(0 comentarios)
0.0