/    Sign up×
Community /Pin to ProfileBookmark

how to show Image Loading Please Wait

Hi,
How can I show text “Please wait while image loading” while image is loading?

Thanks!

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceJun 27.2006 — You can set the background of an IMG tag to a low-resolution "loading..." image (the smaller the file size the better) -- which is overlayed when the real image is loaded.
Copy linkTweet thisAlerts:
@alexusauthorJun 27.2006 — I tryed that, works fine w/ first image but when you load another image under the same tag, the first image appears there untill the new one is loaded... that may confuse visitor... although i can clear previous imge and them load new one
Copy linkTweet thisAlerts:
@phpnoviceJun 27.2006 — Just have a small transparent image you can load into the IMG SRC before you start the load of the big image.
Copy linkTweet thisAlerts:
@alexusauthorJun 27.2006 — ok will do that,

Thnx
Copy linkTweet thisAlerts:
@phpnoviceJun 27.2006 — You're welcome.

Cheers.
×

Success!

Help @alexus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...