Update the attributes width and height for crop
Updated ImageTest