Updated the image handling gem