Change the way rounded works, add to header.
Refined code, added resizedImage.