monobasic/jquery_round_image — pull request #1 by getu-lar (2014-04-11 07:25:49+00:00)
Title: using the smaller of the two dimensions as basis for the circle radius

This way, the circle "mask" always fits _inside_ the image bounds and also works for images that are not square.