Image crop before persist