BLACK FRIDAY Sale with 50% off starts in: 
Image Resize and keep proportions?
January 21, 2008 by Kiril Iliev

How can I set the width of the image and have the height constrained to proportion? Answer:

The width and height proportions are always preserved during resize. The width and height you enter are just maximum values. Think of it as a virtual box. The image is resized to fit the box proportionally.

Kiril Iliev

Kiril IlievKiril Iliev started his career as a PR manager for a Bulgarian game software company and later on started working for Dynamic Zones - the company behind the zones network.

He has written a lot of articles for one of the biggest computer magazines in Bulgaria - PC Mania.

He works on various projects including PHP, CSS, and ASP scripting and is support specialist at

As of April, 2008 Kiril is acting as Research and Development Manager, researching the trends in the new technologies, especially Silverlight and LINQ implementation

See All Postings From Kiril Iliev >>

Place your comment about Image Resize and keep proportions?

You must me logged in to write a comment

Be the first to place a comment