Use the border-radius property to create rounded images:
border-radius
Use the border property to create thumbnail images.
border
Lorem ipsum dolor