# Image Gallery - question

**URL:** <https://forum.kirupa.com/t/image-gallery-question/133430>\
**Category:** Uncategorized\
**Created:** [January 8, 2005, 12:12pm UTC](https://forum.kirupa.com/t/image-gallery-question/133430 "2005-01-08T12:12:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amaro](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@amaro](https://forum.kirupa.com/u/amaro)\
**Post date:** [January 8, 2005, 12:12pm UTC](https://forum.kirupa.com/t/image-gallery-question/133430/1 "2005-01-08T12:12:20Z")

</div>

Hi everybody,  
first of all I want to thank u for this wonderful site… I find everyday a lot of interesting articles.  
I have a question for u on Image gallery.  
I would like to scale images to a defined width and proportionally scale height, without modify proportions.  
Actually the loader clip doesn’t have any dimension (0,0) and changing to another dimension doesn’t work (no image is shown).  
So I made a trick: I put a trasparent rectangle into loader and it worked properly.  
Next step: I need to know if images are portrait or landscape in order to scale in the right way to fit into the stage… I don’t know how to get image dimensions while or after loaded.  
Can u help me?

thanks

Angelo
