# Adjust popup window to image size! possible?

**URL:** <https://forum.kirupa.com/t/adjust-popup-window-to-image-size-possible/65997>\
**Category:** Uncategorized\
**Created:** [October 1, 2004, 10:38am UTC](https://forum.kirupa.com/t/adjust-popup-window-to-image-size-possible/65997 "2004-10-01T10:38:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxgrafx](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxgrafx/32/505_2.png) [@maxgrafx](https://forum.kirupa.com/u/maxgrafx)\
**Post date:** [October 1, 2004, 10:38am UTC](https://forum.kirupa.com/t/adjust-popup-window-to-image-size-possible/65997/1 "2004-10-01T10:38:57Z")

</div>

hello everybody,

I was wondering if it’s possible that a popup browser window auto resizes to the size of a .swf or a image?  
I’ve been to [[color=#22229c]www.flash-db.com[/color]](http://www.flash-db.com/) but found nothing ![](http://forum.kirupa.com/uploads/kirupa/525/d5236136df0858f4.gif) .

thanx

MaxGrafx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 1, 2004, 11:13am UTC](https://forum.kirupa.com/t/adjust-popup-window-to-image-size-possible/65997/2 "2004-10-01T11:13:16Z")

</div>

I tried a similar auto-resize thing a while back with Javascript (which is what you would use) and Jpegs, but so many issues arose due to browser differences I gave up. But it is possible so if u have the time, don’t give up!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 1, 2004, 11:20am UTC](https://forum.kirupa.com/t/adjust-popup-window-to-image-size-possible/65997/3 "2004-10-01T11:20:26Z")

</div>

yes with Javascript, but I don’t see how i make it auto resize.  
don’t you have the code of your experiment?
