# Misalignment of JPG using Tutorial of Centered Popup Window

**URL:** <https://forum.kirupa.com/t/misalignment-of-jpg-using-tutorial-of-centered-popup-window/43253>\
**Category:** flash\
**Created:** [February 20, 2004, 9:04am UTC](https://forum.kirupa.com/t/misalignment-of-jpg-using-tutorial-of-centered-popup-window/43253 "2004-02-20T09:04:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chito](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@Chito](https://forum.kirupa.com/u/Chito)\
**Post date:** [February 20, 2004, 9:04am UTC](https://forum.kirupa.com/t/misalignment-of-jpg-using-tutorial-of-centered-popup-window/43253/1 "2004-02-20T09:04:11Z")

</div>

Hi guys, this is my first post here. These forums have been a great read the past week 🙂

I have done a search and haven’t found an answer, so I thought I’d ask here.

I used the tutorial on this site to create a centered popup window, and it works! However, when I try to use a “\*.jpg” extension so that the window just displays a picture I have, it misaligns the picture so that there is a white border on the left and top of the picture. This doesn’t happen when I enter a destination that is an HTML file.

Does anyone know how I can fix this? I don’t have to create an HTML file for every JPG I have, which just has code to embed a picture in it, do I? That would be a lot of files!

Thanks in advance,

Chito
