1
zimmi88
checking if image exists
  • 2005/7/23 7:23

  • zimmi88

  • Just popping in

  • Posts: 57

  • Since: 2005/3/9 1


Hello. I'm trying to develop a theme where you can create an image for a module that will display when a site visitor goes to that specific mod. However, I'm trying to develop it so that you don't have to create images for those mods you don't want images for (for example, a 1px*1px spacer for each mod that doesn't have it's own image). So.. to the question...

How can i check to see whether an image file exists before putting the image on the page, so that if the file doesn't exist, i can put in something different, like a space?

thanks in advance!
-zimmi88 =)
"Need coffee, keep away..."

Login

Who's Online

121 user(s) are online (87 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits