I have the situation where the following HTML code "calls" a PHP script to prepare an image for display:
echo "<img src=image.php lowsrc='image-loading.gif'
>";
echo "<br>Caption for above image<br>";
When executed, the various GD library calls take 3-4 seconds to compute the resulting image and the new caption is shown and then the browser re-adjusts when the execution completes and the image is displayed properly
What are the options to try to get a temporary image or text to show to displaythat IMAGE IS LOADING
(even though "loading" is a misnomer, i realize).
I tried LOWSRC but nothing displays because i think the resulting image *downloads* quickly enough.
Is there a CSS option to display a div and then have the image overwrite it somehow?
... or other options?
thanks
Start Free Trial