Most modern websites are built on content management systems (CMS), which allow you to change the text and images yourself. However, when updating images on your website, there are a few things to be aware of.

Photos from your camera are too large for the web
The images coming from your camera or phone are likely to be far too large for the web, and you’ll need to prepare them before inserting them into your website. Uploading images directly from your camera or phone will slow your website down as the file size can be extremely large (commonly 2-6MB per image).
Image resizing and cropping tools
There are many tools that allow you to resize your images, including Canva, Photos (on Windows), iPhoto (Mac), and if you have the budget and need the advanced functionality, Photoshop. In addition there are many free image resize tools available on the internet.
Define your image size in pixels
Image size on the web is measured in pixels. To give you an idea of scale, many website content areas are around 1200 pixels wide. Therefore, most images that on your website will usually be no wider than that.
If an image spans the entire width of your browser, e.g. in a banner or hero image background, it may be larger, up to around 2000px.
Depending on your camera, your photos can easily be 4000 pixels wide – far too large for the web, so you may have to reduce the images size significantly.
Image resizing tools allow you to define a target size for your image, so you can simply type in the desired width and the rest will happen automatically.
Your image resizing tool will probably also allow you to crop images if you need different dimensions.
Reduce your file size
Images from a camera or phone can be over 5MB in size. On a website, images should ideally be kept under 300kb in size.
Sometimes a large image may have a bigger file size, and this can be addressed by reducing the image quality. However, quality comes first, so make sure your images look good, even if they exceed the ideal file size a bit.
Generally, the smaller the file size, the faster your website loads. This is not only good for the users, but also for search engines as they prefer fast websites over slow ones.
When you resize your image to a smaller size, the file size will automatically reduce. You may also be able to play with the quality settings, sometimes a slight reduction in quality will not be noticeable to the human eye but may reduce the file size quite a bit.
Choose the right file format
Your image resizing tool will give you a few different file format options. Here is a rule of thumb to help you choose:
JPG – best for photos
PNG – best for any graphics, as well as images that include transparent areas
GIF – best for simple graphics without gradients, as well as for animated banners
Happy resizing!
I hope this post was useful and will help you prepare your images to keep your website running smoothly.