How to obtain the width an height of an image?

Hi friends i’ve problems to obtain the width and height of image, i want
to validate this, i follow the rmagick doc
( , but this only
work fine in shell, but in web the web server don’t respond (webrick or
mongrel), i’m using this code for validate and upload the image:

thanks to all!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs