Implements a corner rounding procedure for the media thumbnail. This cannot be achieved by CSS, so we need to make the corners transparent to mimic round corners. Using thumbnail_corner_radius users can set the rounding to match their CSS settings, or set it to 0 for default square corners.
In addition, provides a few small refactors and cleanups.
Implements a corner rounding procedure for the media thumbnail. This cannot be achieved by CSS, so we need to make the corners transparent to mimic round corners. Using
thumbnail_corner_radius
users can set the rounding to match their CSS settings, or set it to 0 for default square corners.In addition, provides a few small refactors and cleanups.