Image embed reverse margin calculation.