What size should an image be for a slider?

Hi - I took a screenshot of the background of the slider labeled TESTIMONIALS so it’s not as tall as some of the sliders with photos, and brought it into photoshop to measure it by using the selection tool - I placed the cursor on one corner, then click and dragged to the opposite corner and made a note of the pixel numbers that pop up near the cursor.

The size came out to 1900 px x 300 px and worked perfectly.