How To Resize and Crop Image to fit Container div using CodeIgniter and jQuery
Resize and Crop Image to fit Container div using CodeIgniter and jQuery When we have a tendency to visit the gallery page of an internet site we primarily see there area unit 2 varieties of image for a selected show image of the gallery. One is that the thumbnail image that we will see on the page once it loaded on browser and therefore the alternative one is that the original image that we will see when clicking on thumbnail. So here the user goes to transfer a picture for the gallery and our system is doing jobs because the following: Creating a replica to make the thumbnail of the first image. Resize the copy image which inserts closely into the fastened height and breadth of the instrumentation div of the thumbnail on gallery page, that additionally maintains the first image resolution quantitative relation. Crop the image to make an ideal thumbnail for the image. To achieve this good thumbnail we tend to ar attending to use CodeIgniter file uploading ,