GP Code library Create thumbnail image by php When we upload large size images on server. Uploaded large images take more time to load on webpage, so we need to show small size images on our webpage. Image thumbnail is a solution to generate uploaded image’s thumbnail to show required size images on our website. http://codelibrary.googleplus.co.in/create-thumbnail-image-by-php/
[...] Read the rest here: Create thumbnail images in codeIgniter « ANIL KUMAR PANIGRAHI 's Blog [...]
ReplyDeleteHello, your function needs to know where to save the thumbnail.
ReplyDelete$config['new_image'] = './thumbs_folder/' . $fileName;
Thank you!
GP Code library
ReplyDeleteCreate thumbnail image by php
When we upload large size images on server. Uploaded large images take more time to load on webpage, so we need to show small size images on our webpage. Image thumbnail is a solution to generate uploaded image’s thumbnail to show required size images on our website.
http://codelibrary.googleplus.co.in/create-thumbnail-image-by-php/
Hey dude,
ReplyDeletecodeigniter by default resize the image with aspect ratio..
Example:
if I resize an image of 760 x 540 and gives height = width = 80 to resize function it generates thumbnail of 80 x 61 !!!!!
any suggestion or this???