-
Displaying image through asp page
Hi all,
i have to display a image through an ASP file.
e.g.
---- html file ---
<img src="image.asp?id=1">
---
--- image.asp ---
<% if request.querystring("id") = 1 then
response.redirect "/images/the-image.gif"
end if %>
----
now this works fine as long it is used in a browser window. But the image
source (image.asp?id=1) schould be used by an AD banner network. But the AD
server does not seem to accept this type of "image".
So my only chance seems to be using something like:
<air code>
---image.asp---
<% response.ContentType = "image/gif"
set abc = server.createobject("some mysterious object i might have
overlooked that will read binary data")
response.binarywrite abc.gettheimage
response.end
%>
----
</air code>
I also have tried to use a database with BLOB's but that didn't work out
well
so my problems are:
1) I *do not* have the opportunity to use any third party components only
what ships with IIS and NT 4.0.
2) I have to be able to update the image source online at the webserver
wether ist is database or someting else)
I'm not able to use access or whatever to insert the images into the
database, because of that
That's it.
I hope soemone out there might have an idea.
Thanx in advance.
Greetings Ulrich
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks