Jump to content


Photo

Image errors


  • Please log in to reply
1 reply to this topic

#1 Woodburn2006

Woodburn2006
  • Members
  • PipPipPip
  • Advanced Member
  • 214 posts

Posted 11 July 2006 - 05:18 PM

is there any way that if the browser cannot find an image it will automatically replace it with another image?

for example, instead of displaying a box with a red cross in it, it will display http://.../../../error.jpg?

thanks

#2 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 11 July 2006 - 06:50 PM

Short answer: Yes. You can have a default image used/loaded, when the one it is looking for is not found.
PHP Ninja




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users