# Kirupa -Photo Gallery. resizing it to fit

**URL:** <https://forum.kirupa.com/t/kirupa-photo-gallery-resizing-it-to-fit/106731>\
**Category:** Uncategorized\
**Created:** [April 8, 2004, 11:15am UTC](https://forum.kirupa.com/t/kirupa-photo-gallery-resizing-it-to-fit/106731 "2004-04-08T11:15:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wayne/32/16501_2.png) [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Post date:** [April 8, 2004, 11:15am UTC](https://forum.kirupa.com/t/kirupa-photo-gallery-resizing-it-to-fit/106731/1 "2004-04-08T11:15:05Z")

</div>

I have many photos, I want to create a photo gallery. I used Kirupa photo gallery but its not that good, when I load a big picture in the default sized box, it does not show the hole picture but a part of it that fits, the rest goes in the mask.

What I want, is when I press a button, the rektangel that will load the image resize it self to fit the image and loads it up image after image. I have seen this thing used in sites.

simliar to this.  
[http://www.dirklambrechts.com/](http://www.dirklambrechts.com/)

Just simple but, resizes it self to the image, and loads it preloader. ☹  
I also have this client who wants like that, I need helpt.

Thank you very much.

---

<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:** [April 8, 2004, 12:32pm UTC](https://forum.kirupa.com/t/kirupa-photo-gallery-resizing-it-to-fit/106731/2 "2004-04-08T12:32:39Z")

</div>

why dont you just use the same size of the picture at the mask like \_x = \_parent.mypicmovie??

i have also written my own photo gallery at [www.hw02b.at.tf](http://www.hw02b.at.tf)  
look at “Klasse-\>Bilder” or “Klasse-\>Schuler” (the site is in german)  
but tell me if you want it like this ! (cause i dont completely understand your  
application
