FirstFrame class to input dimensions of image