March 23, 200719 yr I am trying to perfect my upload script, so I was wondering if someone could present a few ideas on how to add a in browser, 'on the page' way of adding a loading image. Currently, this is the order to the PHP upload script. 1. Click Browse (find image) 2. Submit image 3. Page reloads with codes and thumbnail I basically want no reloading of the page, without frames or intense coding. Between 2 and 3, it should have a loading image if possible, but it shouldn't delay the upload if it's a small image. I have heard of a few methods, like Ajax and Javascript, but I was wondering what would be the easiest, fastest, and most compatible way of adding this 'Loading' Image.
March 23, 200719 yr I'd say look into ajax if you want to remove the page refresh bit... If you're ready to post your script, I'll have a look for you Oli
March 25, 200719 yr Author It shouldn't have to reload to show the results. Maybe put in a spinner loading image while it loads. This one if you can. index.php.zip
April 11, 200719 yr for imageho.st i added a loading bar in a div which becomes visible when the submit button is pushed. tbh, the image doesnt animate in ie. any of you an ajax expert wwho feels like writing a tutorial on proper loading bars?
Create an account or sign in to comment