Goal: Optimize/resize images on my website, in order to get high scores on Google PageSpeed.
Method: Use php GD. You need to have experience about it.
Description：On this page, www.businessesbuysell.ca/business-for-sale.php , images uploaded by users are displayed as thumbnails. Thumbnails are displayed in small areas, but the website currently fetches complete original images. This is not efficient.
Therefore, the job is to create and store, in a folder, a smaller version of original uploaded images with php GD. The website will only fetch the smaller version for thumbnails.
Currently, when the mouse hovers on a thumbnail, a larger image is displayed. Keep this function, but only fetch the larger image once the mouse hovers on its thumbnail.
Images are uploaded by users. So, thumbnails need to be created automatically when users upload images.