Jump to content

How to Upload Large Images


nediaz

Recommended Posts

Hi

 

I'm a new web developer and I'm working in a website whose goal is upload large image files.

The idea is the following

 

1.- Allow to the user upload large image files(.tiff,.jpg, photoshop extension, corel draw ext,etc). Limit of the files 200mb

2.- Present a status bar when the file is loading

3.- Once the file is loaded show to the user a thumbnail of the image loaded

 

The result would be very similar to the sites: largeformatposters.com, vistaprint.com, etc

we don't think to keep the files in the server is just for receiving.

I have a account in host dreamhosts

How could I carry out this? I need a strategy before of begin to code

 

Regards,

 

Nelson

Link to comment
Share on other sites

It can be done, first you'll need to check the current upload limit via phpinfo(); if thats not at least 200 megs, you'll need to modify that (but i dont know the code, as ive never had to do it -- part of the beauty of running your own web host, you set it to what you need it).

 

Once you get that out of the line, its some basic PHP to actually upload the image  as far as progress bar, im sure it can be done, are you ready to learn AJAX?

 

http://ajaxian.com/archives/asynchronous-file-upload-with-ajax-progress-bar-in-php

 

i just googled this, havent taken a look at it but it might get you on your way to what you want.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.