added class for centering and adding borders to img