![]() |
Showing an error image when the orginal doesnt load
as in title
i have an adult forum which mostly use images hosted on image host sites which dont always load and when not you will see in IE a red cross but not in FF / Opera so i want to let is show an error image when the original doesn't load i think it has to do with class_bbcode but i 've no idea how to do it Wally |
anyone an idea??
|
I don't know that you can do anything about it. If you look at the page source, the link to the image will be there, it's just that the browser can't grab it for some reason. That is a browser thing and not something you can put into your code (that I know of).
|
Quote:
|
strange i've seen this working on some phpbb forums (if it works on phpbb it should also be possible with vbulletin)
--------------- Added [DATE]1232896409[/DATE] at [TIME]1232896409[/TIME] --------------- on phpbb a board uses this after the img code: Code:
onerror="this.src='url to /error.png'" |
I'm a trial and error coder, especially with javascript, so here's a page to help you out - http://www.w3schools.com/JS/js_onerror.asp
|
thx lynne that might help will look into it
|
All times are GMT. The time now is 12:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|