VID-1974 setting a border around all gallery images

Not according to MediaWiki coding conventions, unless I'm missing something.