cusimar9
12-13-2006, 11:30 AM
Can I use a dynamic image as a background?
For some reason the third image below doesn't work:
http://www.businessliving.co.uk/imagertest/test.asp
<html>
<head></head>
<body>
<img src="imagertest.jpg">
<BR>
<img src="/cgi-bin/Imager.dll?Image=<%=Server.MapPath("/imagertest/imagertest.jpg")%>&Width=50">
<BR>
<div style="background: URL(/cgi-bin/Imager.dll?Image=<%=Server.MapPath("/imagertest/imagertest.jpg")%>&Width=50); width: 200px; height: 100px;">TEST<BR>TEST</div>
</body>
</html>
For some reason the third image below doesn't work:
http://www.businessliving.co.uk/imagertest/test.asp
<html>
<head></head>
<body>
<img src="imagertest.jpg">
<BR>
<img src="/cgi-bin/Imager.dll?Image=<%=Server.MapPath("/imagertest/imagertest.jpg")%>&Width=50">
<BR>
<div style="background: URL(/cgi-bin/Imager.dll?Image=<%=Server.MapPath("/imagertest/imagertest.jpg")%>&Width=50); width: 200px; height: 100px;">TEST<BR>TEST</div>
</body>
</html>