Image Resource - Does It Exist?

On a web form, I have the background set to a specific .gif file related to some value in the form.

But, I would like a way to check to see if the gif file exists and IF NOT display a default .gif file.

Can this be done?

I looked around, but I had difficulties implimenting the design view mentioned…

Subject: RE: Image Resource - Does It Exist?

There is a way, but it’s not straightforward and it will impair performance. Can’t you just have one graphic, and “refresh” it from the gif/jpg file containing the image you want to use?

You could use a profile document to store the “current” image name to use, and change the profile editing process to both create the image resource and simultaneously update the profile with the new name.