473,225 Members | 1,275 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

Image Upload

Hi
I have being working on a form.
The form allows 5 image files to be uploaded with other user details.
All the 5 image files are uploaded at the same time (with a single submit button click).
The uploaded images are resized to thumbnails 120x120 version and 600x400 version.
Maximum 1 MB size image files are allowed to upload.

I have tested with this in my local server using XAMPP for Windows and its working fine. In my local server all the 5 images are uploaded and thumbnails are generated within 3 seconds. (I understand that there is no network data transfer in the local server)

My Live server is *nix machine with good hardware configuration and lot better than my Local Server

The PROBLEM is Live Server takes around 60 or more seconds to upload the files and resize the images and update the user data. (image resolution of 1440x960)

My client feels that it takes much time to upload the images. Is there anyway to improve the performance and make the image uploads to be faster.

Please let me know your suggestion how should I go with this Or If any alternative can be provided.

Thank you very much for all your suggestion!
If you expect me to place the code which I use, I am glad to provide it.

I am using a very simple script to resize the images.

Thanks again
Feb 6 '09 #1
4 1887
Dormilich
8,658 Expert Mod 8TB
do you know, how long the file uploads take? if the total size is in the range of some MB I can imagine the upload taking that long.
Feb 6 '09 #2
The total size of all the image files I had uploaded was 1.5 MB.
Feb 6 '09 #3
Dormilich
8,658 Expert Mod 8TB
taking 60 seconds for file upload seems quite possible....
Feb 6 '09 #4
Atli
5,058 Expert 4TB
@samatair
Uploading images to the server will take some time. Your PHP code can do nothing to affect that.

Depending on both the server and your client's bandwidth limitations, a 1.5MB upload could well go over 1 minute.
(That would be something like 25KB per second, which could very well fit a low speed ADSL connection)

If your client wants this to take less time, he is going to have to have to buy a better connection for the computer doing the uploading, and possibly even upgrade the download bandwidth for the server.
Feb 7 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: lawrence | last post by:
I've been using the following function (yes, it is inelegant, what can I say, I wrote it a long time ago) to upload images. Haven't had a problem with it for at least a year, and I don't recall...
3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
2
by: Gary \(Girish\) | last post by:
Hello: I am using SA-FileUp to enable members to upload their product images to my ISP sever. When member uploaded a new image file, the file name is replaced with the member ID and the old file...
0
by: doffer | last post by:
I want to make a portfoliosystem where user can register and get their own portfolio... I've started the developer work, but I'm stuck on the image upload part... I'm experiencing some problems...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
2
by: prakharv | last post by:
Hi All, Below is the code which I am using to upload a jpeg file to the server. But the problem I am facing is that it is not copying the entire contents of the image file to the webserver and it...
7
by: xx75vulcan | last post by:
Hi, I've got a PHP Upload Form that works great, unless that is, the image your uploading has been modified through a photo editing software. Example: if I upload the image straight from a...
7
by: mishrarajesh44 | last post by:
hii all Truly telling i hav got this code from net & i am finding error while running the code below.. code:- <?php $idir = "photo/"; // Path To Images Directory $tdir =...
1
by: sravani1 | last post by:
This code runs like when i submit the form it takes the image and displayed and top of the image a map will displayed. But actually i want that when i give the image it checks the location in the map...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.