added margins to images