Translating 2D image and adjust field of view

Hi all,
I would like to move a model and a 2D slice on the basis of a translation.
The model translates without problem but, for the 2D slice, I have to click on the button “adjust field of view” (the small rectangle) to see it.
Is there a trick to do this in an automatic way? A python line of code could work as well.

Thank you.

Paolo

Usually we position images by applying a transform and using Volume Reslice Driver (in SlicerIGT extension). Volume Reslice Driver module takes care of keeping the image in the field of the slice view.