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
https://forums.phpfreaks.com/topic/207848-how-to-upload-large-images/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.