add margins to pictures