Reputation: 28164
Before the image finishes loading, it shows the URL of the image.
This looks really bad, esp when the user has a slower connection
Example: see the second image, which is still loading:
Upvotes: 0
Views: 58
Reputation: 43235
<img tag
.These 2 alterations will give a better user experience.
<img src="http://mysite/images/myimg.jpg" style='width:100px;height:100px;' />
Upvotes: 1
Reputation: 14618
That's the alt
html attribute value.
<img src="http://yoursite/path/image.jpg"
alt="text to display when no image available"/>
simply put a blank string in the alt
attribute.
That should be the easiest, javascript-free method of doing this.
Upvotes: 1