rmagick now resizes images. you will need to install imagemagick in order for this to work