fix image cropping for local dev