In: Computer Science
ANSWER:
If we create a website for a particular company and that company wants you to include a photo gallery that contains many high resolution images. This will definately slow down the page load time of the website.
Here are the main reasons images slow down your page load time:
1) Image files are too large-
It can take a long time to download image files that are too
large.
Large images, high resolution images, and uncompressed images can
dramatically slow down page load times.
How to fix
it:
→ Display
size
→ Resolution
2) Synchronous
loading of HTML, CSS, JavaScript and images
When your web page synchronously loads all HTML, CSS, JavaScript,
and images together, the initial render time can be very long.
Images can take up a significant portion of the rendering time.
How to fix it:
3) Too many
images and HTTP requests
One server connection is required for each image file that is
linked on the web page.
Too many images on a web page not only increase the size of the load, but can also block the connection to the server by sending more than allowed HTTP requests.
How to fix
it:
→ Reduce the
number of images
Use images sparingly. Keep the number below five.
→ Update server
What if the number of images on your site cannot be reduced?
->If the content on your page is not primarily related to a particular image, it is wise to place a thumbnail image next to the content and link it to the original image.
If you are satisfied by my answer please give a thumbs up. Thank you.