Slideshow Desktop and Mobile Image adapt to image size ( No Adapt to First Image )

Hello, im trying to make the slideshow images for desktop and mobile to adapt to image they have assigned. No the size of the first image, which is the desktop image. Im planning to make 2 banners, but one will be for desktop and one for mobile that will take more height of the screen.