# Automatic window resize to external image?

**URL:** <https://forum.kirupa.com/t/automatic-window-resize-to-external-image/217819>\
**Category:** flash\
**Created:** [March 2, 2007, 4:40am UTC](https://forum.kirupa.com/t/automatic-window-resize-to-external-image/217819 "2007-03-02T04:40:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chich](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Chich](https://forum.kirupa.com/u/Chich)\
**Post date:** [March 2, 2007, 4:40am UTC](https://forum.kirupa.com/t/automatic-window-resize-to-external-image/217819/1 "2007-03-02T04:40:26Z")

</div>

Hi,  
I have created a swf with an image library made up of thumbnails.  
When you click on a thumbnail it loads an external image into a new browser window.  
I would like that browser window to resize to the image, and also to lose all its attributes, like address and status bar etc.

Here is the code I currently have attached my thumbnails/buttons:

on (press) {  
getURL(‘gallery/001.jpg’, ‘blank’);  
}

What do I need to add to this?

Chich.
