Image output based on frame position

Hi. Any help with this one?