modified image margins