can add image and resize function with rmagick working