search for: the_img

Displaying 1 result from an estimated 1 matches for "the_img".

Did you mean: the_arg
2007 Apr 19
2
invalid geometry string in change_geometry
I get the following error at the browser: ArgumentError in ImagesController#upload invalid geometry string `110×'' ... for the call to change_geometry with an explicit size (''110x'') as the geometry string: def make_thumb (the_img) require ''RMagick'' size = "110x" debugger if ENV[''RAILS_ENV''] == ''development'' img = Magick::Image.from_blob(the_img.img_data).first img.change_geometry(''110×'') {|cols, rows, i| i.resize! (cols,...