I want to generate thumbnails for the images that are uploaded to my page to save them on my server. I have read about several libraries but my host does not allow me to install external libraries. Does anyone know in any way to generate thumbnails with good quality?