Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
I fixed the issue by adding
"?" + Math.random();
to the error image URL
Original comment by johnschram@gmail.com
on 9 Apr 2009 at 9:04
Attachments:
Slimbox has no "error handling" function. Thank you for providing a fix for
those who
are using this custom script anyway.
In my opinion, there should not be any error handling in slimbox because the
"error"
is a human error caused by the web designer, so it's the responsibility of the
web
designer to use correct URLs. Adding error handling would need to make the code
much
bigger and complex and the benefit is very small. For me, invalid URLs are like
javascript syntax errors or missing javascript files: when it's wrong, it just
crashes and the web designer/coder needs to fix it. As long as the web designer
uses
correct URLs, all should be fine.
Original comment by christophe.beyls@gmail.com
on 16 Nov 2009 at 4:10
Original issue reported on code.google.com by
johnschram@gmail.com
on 9 Apr 2009 at 8:27Attachments: