Adds image drop-shadow support to all templates

Also centers images in the box they are to be resized in.