defines image controller