Images and other media are an essential part of providing a good user experience and they are ubiquitous on websites today. They are also your biggest, clunkiest set of assets and can ruin your page load times if you’re not careful. When your site is slow, the easiest way to get it running faster is to optimize your image sizes and filetypes.
There is also a big difference between each of the image filetypes, so pay attention to the use cases for each. Remember, the trade-offs are usually image size vs quality (though sometimes you want animation or clear backgrounds too), so figure out the differences between gif
and jpg
and bmp
and png
and svg
.
Read about the Differences between image types (see first answer) from SO
Watch this YouTube video about adding video to your page:
Don’t worry if you don’t absorb it all — you’ll have time to pick it up later.
You can always use a web service like TinyPNG to compress your images and improve your web site’s loading speeds.
UPDATED: 23.10.2020