Reduce image size using PHP GD functions

In the above code
imagejpeg($im,
“VW_Beetle_Sport_Concept_by_husseindesign_interlaced.jpg”, 90);
is the function which will reduce the image size; We can change the third parameter sent to the function call

which is currently set to “90” to reduce the image size accordingly.

NOTE: This parameter controls the image quality so we need to focus on that factor while setting this up. But you can see the example mentioned below to

find the significant change in size of two images.

Example: http://203.129.204.134/ImageExample/example.html- This page has two links: one is to the original image which is of 515 KB and another one is the converted image using the above code which is of 147 KB.

So you can see the difference in size with a very negligible quality difference.

150 150 Burnignorance | Where Minds Meet And Sparks Fly!