adjusting some of the Image_attachment functionality.