Ask a Question related to ASP.NET General, Design and Development.
-
Chris Fink #1
<ASP:IMAGE>
Hello,
Does anyone know of a way to handle broken href image tags either by using
the html img tag or the asp:image server control? For example, if my src
attribute is broken, I would like to display an alternate image, ie one that
blends in with the background instead of the standard eye sore x.
I would imagine I could use the <asp:image> server controls events to check
the src and then change it if it is broken, i am just not clear on how to do
this.
Thanks,
Chris
Chris Fink Guest
-
determine image information on image stored in MySQL BLOB
Hi all, I store images in my DB as BLOB. When I want to place them in an html table, I want to determine the width of the image in order to... -
Open Image in 'Kodak Image Edit Control' with web browser.
hi, 1.I want to show a image file of type '.tif' in the browser window; for that I'm writting as ASP code page. 2.This '.tif' type image can be... -
How To Browse for an image file and save it to image server folder
I trying to browse for an image file and save it to the server image folder. in other words , upload the picture. I tried html and aspx.net... -
Can I take a small (320x240), blurry image, and make it a clear, large image?
Just wondering if there is an easy way to do this? I'm sure it won't be perfect cause photoshop can only work with what's there, but maybe it can... -
Photoshop 7.0 Sliced Image Causes DreamWeaver MX Table To add 1 Pixel gif image!
Hello, I sliced my page in Photoshop 7 and did a "Save Optimized" to HTML. I opened the page in Dreamweaver MX and it looks find. I want the TABLE... -
Vidar Petursson #2
Re: <ASP:IMAGE>
Hi
The image tag has onerror event, at least in explorer
<img onerror="setDefaultImg(this)">
function setDefaultImg(e){
e.src = "theDefaultImage.gif";
}
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Chris Fink" <chris@chrisfink.com> wrote in message
news:uAni1dSUDHA.2196@TK2MSFTNGP12.phx.gbl...that> Hello,
>
> Does anyone know of a way to handle broken href image tags either by using
> the html img tag or the asp:image server control? For example, if my src
> attribute is broken, I would like to display an alternate image, ie onecheck> blends in with the background instead of the standard eye sore x.
>
> I would imagine I could use the <asp:image> server controls events todo> the src and then change it if it is broken, i am just not clear on how to> this.
>
> Thanks,
> Chris
>
>
Vidar Petursson Guest



Reply With Quote

