I am trying to create thumbnails on the fly from the image i upload.
I have 2 folders 1) OriginalImage 2) ThumbnailImage
The task i am trying to achieve is the image i select should be uploaded to OriginalImage and simultaneously create a thumbnail of the sameimage and store it in the thumbnail folder.
In short the image that is getting uploaded in the OriginalImage folder the same has to be uploaded in thumbnail folder with its width and height of 300 x 200.
So in conclusion i want to create the thumbnail of the image of 300 x 200 maintaining the aspect ratio