adds image borders