
In our previous php tutorial you have learned how to upload images using php? While uploading the image you have to find the type of file and save them according to their extension. Now you wish that when a user upload image to your site all types of images automatically converted to a particular image type, like JPEG.
Let’s do it.

