Jump to content

[SOLVED] Running a Process in the "Background"


scooter41

Recommended Posts

Hi There,

 

I have a CMS system that my client uploads images too and resizes 3 different sizes for thumbnails and various items around the website. This is fine with small images, but he has a habit for uploading images "straight out his camera" resulting in large file sizes. Sometimes 6 images will be uploaded at once, meaning the browser hangs for quite a long period of time whilst the image resizing is going on....

 

There is HTML content that appears above the resizing, but this doesnt show until all the resizing is done, then it appears.

 

In an ideal world I guess it would be great if the page could appear with a statement saying "resizing images" or something like that, whilst the server processes in the background, but not sure the best way to do this?

 

Is there any quick easy way to make html appear during the script running?

 

Any advice greatley appreciated :)

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.