Posts Tagged ‘image’

Storing An Image To a Database in .NET

G07L0019

Several weeks ago I mentioned that I store the images that the user uploads to the system into the database.

Some of you have expressed an interest in how I do that.  So I plan to cover that today.

For the purposes of this article, I’m going to assume that you’ve already got the image uploaded and scaled and that all that is left is getting it into the database.

Read the rest of this entry »

Other Related Items:

Chicago and Earth, Wind &  Fire: Live at the Greek Theatre [Blu-ray]Chicago and Earth, Wind & Fire: Live at the Greek Theatre [Blu-ray]The teaming of legendary groups Chicago and Earth Wind & Fire was the tour hit of the summer. Playing to sold-out venues this spectacular show brought... Read More >
Whirlpool 4396841 PUR Side By Side Refrigerator Push Button Fast Fill Water Filter, 1-PackWhirlpool 4396841 PUR Side By Side Refrigerator Push Button Fast Fill Water Filter, 1-PackPush button fast fill in grill noncyst refrigerator water filter for Whirlpool, Maytag, Amana, Estate, Roper, Kitchen Aid, and Jenn Air side by side model refrigerators.

.NET Image Scaling in CSharp

94Tr One feature of .NET that I use regularly is image scaling.  I typically use this on web sites that need image upload capabilities.  I assume the user is going to send me an image that is significantly bigger than what I could use and then scale it down before storing it.

I also use this feature so that I only have to store one image.  If I need it at a different size, I can scale it prior to sending it down to the browser.  In this case, I implement .NET page caching so that I don’t have to run the scaling code every time the image is requested.

Image scaling really isn’t that hard.  Here’s how it’s done.

Read the rest of this entry »

Other Related Items:

Zombie NightZombie NightStudio: Maverick Entertainment Release Date: 11/08/2005
Adobe Photoshop Elements 8 [Mac]Adobe Photoshop Elements 8 [Mac]Photoshop is the industry standard for photo editing, hands down. With Photoshop Elements 8 from Adobe, you can get a full-featured version of the be... Read More >
Jumbo Uppercase Magnetic LettersJumbo Uppercase Magnetic LettersBreak out these bright magnetic letters and numbers and create a learning station right on your refrigerator door. This set includes all the letters i... Read More >
DotNetNuke Sponsor

 

Most Valuable Blogger
Sponsor