Click here to Skip to main content
12,957,007 members (61,219 online)
Click here to Skip to main content
Add your own
alternative version


28 bookmarked
Posted 23 Feb 2006

Image Resizing Maintaining Height/Width Ratio

, 23 Feb 2006 CPOL
This article explains how to dynamically resize an image in your web page to a given size, maintaining the original height/width ratio.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Emanuele Briano
Web Developer
Italy Italy
My name is Emanuele Briano, I am 23 years old. I'm an Industrial and Management Engineer from Italy.
I have expertize in: optimization of complex systems, production flow optimization, linear programming, statistical methods, simulation, design of experiments, business management.
I also operate in web consulting and web design. I realise professional web pages, static or dynamic (usually in ASP.NET), from a design based on usability to realisation and online marketing.
My Web Site (english) is
My Web Site (Italian) is

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 24 Feb 2006
Article Copyright 2006 by Emanuele Briano
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid