Back to Top
The nuts and bolts for
Creative web development

Image Resize and keep proportions?

Question:


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 DMXzone.com.

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 >>

Share this Article