Discussion:
Sending image with HttpSendHttpResponse api
(too old to reply)
M.Engur
2010-03-17 12:51:01 UTC
Permalink
Hello,

We are trying to setup our httpapi server exe program.
We send the response using HttpSendHttpResponse api.
In our EntityString we include the image with ;
"<img src="Loading Image..." height="100" width="100" >"
Where "mybus.JPG" is in the same address as the our server exe program.

Unfortunetly every thing that is sent from server can be seen on the web
browser except our image.
What is missing with this ?
Any help appreciated.
Regards.

M.Engur
Muhammed Fatih Bayraktar
2011-10-05 15:06:55 UTC
Permalink
I think must set HttpHeaderContentType like image/jpeg

http://msdn.microsoft.com/en-us/library/aa364528(v=VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa364526(v=VS.85).aspx
Post by M.Engur
Hello,
We are trying to setup our httpapi server exe program.
We send the response using HttpSendHttpResponse api.
In our EntityString we include the image with ;
"<img src="http://myserver/mybus.JPG" height="100" width="100" >"
Where "mybus.JPG" is in the same address as the our server exe program.
Unfortunetly every thing that is sent from server can be seen on the web
browser except our image.
What is missing with this ?
Any help appreciated.
Regards.
M.Engur
Loading...