Jump to content

Show Image from dll resource on HTML page


Iczer
 Share

Recommended Posts

IE 404-error page include image from local dll:

<img id="pagerrorImg" SRC="res://shdoclc.dll/pagerror.gif" width="25" height="33">

I was needed make some html pages for embedded IE and place different images on them. So I tried to put images into dll resources and use them to make img tags for html like this:

<img id="pagerrorImg" SRC="res://mycustom.dll/image_01.gif" width="25" height="33">
<img id="pagerrorImg" SRC="res://mycustom.dll/res/image_01.gif" width="25" height="33">

<img id="pagerrorImg" SRC="res://d:/app folder/mycustom.dll/image_01.gif" width="25" height="33">
<img id="pagerrorImg" SRC="res://d:/app%20folder/mycustom.dll/image_01.gif" width="25" height="33">

<img id="pagerrorImg" SRC="res://d:/app folder/mycustom.dll/res/image_01.gif" width="25" height="33">
<img id="pagerrorImg" SRC="res://d:/app%20folder/mycustom.dll/res/image_01.gif" width="25" height="33">

but none of them worked... Is there a some trick to it?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...