BeforeFragment image capture