Use add_image_size() to make WordPress generate extra image sizes every time an image is uploaded. This gives you exact dimensions for cards, banners and galleries.
Featured images, also called post thumbnails, need theme support first. After that, use has_post_thumbnail() to check if the post has an image and the_post_thumbnail() to print it.