Anil Labs

Thursday, January 21, 2010

Create thumbnail images in codeIgniter

4 comments:

  1. [...] Read the rest here: Create thumbnail images in codeIgniter « ANIL KUMAR PANIGRAHI 's Blog [...]

    ReplyDelete
  2. Hello, your function needs to know where to save the thumbnail.
    $config['new_image'] = './thumbs_folder/' . $fileName;

    Thank you!

    ReplyDelete
  3. 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/

    ReplyDelete
  4. Hey dude,
    codeigniter 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???

    ReplyDelete