properly parse out gif dimensions. durrrrr. [ci skip]

This commit is contained in:
danielgrippi 2012-04-24 17:34:50 -07:00
parent e55073fdd4
commit a1907428e1

View file

@ -25,6 +25,6 @@ class UnprocessedImage < CarrierWave::Uploader::Base
end
def get_version_dimensions
model.width, model.height = `identify -format "%wx%h" #{file.path}`.split(/x/)
model.width, model.height = `identify -format "%wx%h " #{file.path}`.split(/x/)
end
end