# Resizing images

**URL:** <https://forum.kirupa.com/t/resizing-images/191026>\
**Category:** Uncategorized\
**Created:** [June 16, 2006, 2:06pm UTC](https://forum.kirupa.com/t/resizing-images/191026 "2006-06-16T14:06:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Post date:** [June 16, 2006, 2:06pm UTC](https://forum.kirupa.com/t/resizing-images/191026/1 "2006-06-16T14:06:53Z")

</div>

I’m using this actionscript to load a jpeg from a MySql database

```auto

_root.detailfade.detail2.photoContainer.loadMovie(myLv["pic"+(numb)]);

```

All images loaded are in landscape proportions. I would like to resize the images that are loaded to a set height (the photo might have to be either enlarged or reduced) but maintain the proportions of the picture (i.e the resize the width to keep proportions)

Any help would be great. Thanks.
