some changes for images.