Violation of Lorentz invariance and dynamical effects in high energy gamma rays