This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23057 - browser loads a default image when the original src is not found or broken
Summary: browser loads a default image when the original src is not found or broken
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P3 enhancement
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-25 16:37 UTC by mohan
Modified: 2015-06-26 05:38 UTC (History)
4 users (show)

See Also:


Attachments

Description mohan 2013-08-25 16:37:03 UTC
"src="sale.gif""

hi , 

i was confused why the browser loads a default image when the original image is not found or  when the image takes more time to load , user has to wait till the original image succeeds or fails . it looks not interactive , browser behaves the same in HTML 5 world also.

my suggestion is if image tag has a default field to load the default image until the original image is loaded or until the original is failed and even if the original image is failed let the default image defined by the user is shown instead of browser to show to default gif .   

<img default="default.jpg" src="acb.jpg alt="default">

Thanks
Mohan
Comment 1 Kornel Lesinski 2013-09-08 20:49:33 UTC
Would this be a satisfactory solution?

<img src="broken" onerror="this.src='fixed'">
Comment 2 Michael[tm] Smith 2015-06-17 02:38:54 UTC
see comment 1

No indications of implementer interest nor comments from webdevs here, so moving to resolved=wontfix. Reopen if there's any new information.