Changing the Value of an Attribute

The original image was smiley.jpg, but the script changed it to landscape.jpg