creates a frame with images