# How to get image properties

**URL:** <https://www.ruby-forum.com/t/how-to-get-image-properties/59672>\
**Category:** Rails\
**Created:** [May 5, 2006, 9:58am UTC](https://www.ruby-forum.com/t/how-to-get-image-properties/59672 "2006-05-05T09:58:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![surekha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@surekha](https://www.ruby-forum.com/u/surekha)\
**Post date:** [May 5, 2006, 9:58am UTC](https://www.ruby-forum.com/t/how-to-get-image-properties/59672/1 "2006-05-05T09:58:03Z")

</div>

Hi friends

in PHP there is a direct function GetImageSize(), with it I can easily  
determine the dimentions of an image file.

How can I do in RoR.

Please help me out

Thanks in advance

---

<div class="post-metadata">

**Author:** ![surekha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@surekha](https://www.ruby-forum.com/u/surekha)\
**Post date:** [May 5, 2006, 1:43pm UTC](https://www.ruby-forum.com/t/how-to-get-image-properties/59672/2 "2006-05-05T13:43:37Z")

</div>

> Hi friends  
> in PHP there is a direct function GetImageSize(), with it I can easily  
> determine the dimentions of an image file.
> 
> How can I do in RoR.

> **[BigBold - Informasi Tentang Bisnis dan Marketing](http://www.bigbold.com)**
>
> BigBold ialah situs yang memberikan segala macam Informasi Tentang Bisnis dan Marketing

## \<…\> Regards, Rimantas

[http://rimantas.com/](http://rimantas.com/)

---

<div class="post-metadata">

**Author:** ![surekha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ce73a5/32.png) [@surekha](https://www.ruby-forum.com/u/surekha)\
**Post date:** [May 5, 2006, 3:55pm UTC](https://www.ruby-forum.com/t/how-to-get-image-properties/59672/3 "2006-05-05T15:55:52Z")

</div>

Not exist a best form to do
