I'm building my own simple CMS. Here is a problem with images. Loading large size images slow down the website. I'm here to ask how to resize an image to multiple dimensions for example: image.jpg orginal size is 1280x720pixels; for thumbnail to create image250x250.jpg; inside post usage image500x350.jpg and so on. Currently using the same image for thumbnails, posts and so on. I'm just styling with CSS.
Thanks and best regards!