Change for correct handling images in Sprocket