@ -55,9 +55,11 @@ class AvatarController < ApplicationController
# saved = @avatar.save
begin
f = Magick::ImageList.new(diskfile)
f.scale!(50,50)
f.scale!(100,100)
#f.scale!(50,50)
f.write(diskfile)
rescue
rescue Exception => e
logger.error "[avatar] Error : avatar_cntroller#upload ===> #{e}"
end