# Adjusting Background Size for Image?

**URL:** <https://forum.kirupa.com/t/adjusting-background-size-for-image/245053>\
**Category:** flash\
**Created:** [November 25, 2007, 11:40pm UTC](https://forum.kirupa.com/t/adjusting-background-size-for-image/245053 "2007-11-25T23:40:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KillCodyDead](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@KillCodyDead](https://forum.kirupa.com/u/KillCodyDead)\
**Post date:** [November 25, 2007, 11:40pm UTC](https://forum.kirupa.com/t/adjusting-background-size-for-image/245053/1 "2007-11-25T23:40:35Z")

</div>

Whether or not this is easy to code, I’ve seen it used very widely. You simply click on an image on a website and it’s loaded in another spot (via movie clips I assume). The spot that it’s loaded in could be a box that resizes itself to accommodate that image perfectly. How is this done? If my description is unclear, just ask and I should be able to find an example easily enough. Also, I’d like to know how to make a browser pop-up window that resizes itself to fit an image (shown [here](http://www.ekiongfx.com/website.html) under gallery) and a flash pop-up window that resizes itself. Thanks for any and all help!
