Moved `imageGetter` creation outside of the media loop.