473,395 Members | 1,473 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Displaying Embeded Bitmap Resources in a ASP.NET

Hi all,

I created an assembly that is shared by all our websites and cotains many
images used throughout.

I know how to access the resource, but how do I get the Bitmap to display in
the IMG tag in HTML in C# without saving to a file first?

Paul
Nov 19 '05 #1
2 1162
You 'll need a special page (or HTTP Module) to extract the image(s).
Then the image tags on the pages will reference this special page instead of
an image file.
Here's more info:
http://SteveOrr.net/articles/ImproveYourImages.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:D9**********************************@microsof t.com...
Hi all,

I created an assembly that is shared by all our websites and cotains many
images used throughout.

I know how to access the resource, but how do I get the Bitmap to display
in
the IMG tag in HTML in C# without saving to a file first?

Paul

Nov 19 '05 #2
Thank you Steve, this is exactly what I am looking for, relised I would need
a seperate page when I went to bed.

Thanks again

"Steve C. Orr [MVP, MCSD]" wrote:
You 'll need a special page (or HTTP Module) to extract the image(s).
Then the image tags on the pages will reference this special page instead of
an image file.
Here's more info:
http://SteveOrr.net/articles/ImproveYourImages.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Dr. Paul Caesar - CoullByte (UK) Limited"
<Dr****************************@discussions.micros oft.com> wrote in message
news:D9**********************************@microsof t.com...
Hi all,

I created an assembly that is shared by all our websites and cotains many
images used throughout.

I know how to access the resource, but how do I get the Bitmap to display
in
the IMG tag in HTML in C# without saving to a file first?

Paul


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ed Sutton | last post by:
I have been searching for how to get an icon resource and load it into an ImageList. I added an *.ico file to my project and set the files "Build Action" to "Embedded Resource". Is there any easy...
3
by: Viorel Ghilas | last post by:
Hi all, I have an assembly, that contain some embeded resources, How can I add in runtime, data to my embeded resources. is it posible with best regard Viorel Ghilas
0
by: Marcus Kwok | last post by:
I have written a class (Windows Form) in Managed C++ that accepts an array of image filenames and will display them sequentially. All images will be the same size. I got it to work, but I know...
0
by: raylopez99 | last post by:
I have a minor problem locating an image file to load as a Bitmap. A resource file "NudeSusan.jpeg" (which I think is actually a bmp file, originally taken from a jpeg of model Susan Spears) is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.