cropping figure.attach img.src