photo/frontend — pull request #917 by pixelistik (2012-08-24 11:02:09+00:00)
Title: Beisel2: Apply rounded corners to container instead of image

Instead of rounding the corner (top left, also top right in single
column layout) of the image, round the container instead.
If the image doesn't fill the container width, it will not have an
unmotivated rounded corner anymore.

Note: For webkit, any positioning of the container needs to be removed,
see http://stackoverflow.com/q/5736503/376138
Removing `position: relative` doesn't seem to break anything, though.

Fixes #912

I did some manual browser tests:
Chromium 18, Firefox 13, Safari 5.0.2, IE9, Android 2.3: works, no obvious regressions.
IE7: No rounded corners anyway, no obvious regressions.
Opera 12: Does not clip image at the rounded corners of the container, result: straight corners. **Regression**: rounded corners directly on image worked before.

I'm leaving this branch running for while on [my OP installation](http://photos.pixelistik.de/), feel free to test it there. Specifically, there's a [narrow test image in portrait orientation](http://photos.pixelistik.de/p/b).