Answers for "gd2 image resizing library in codeigniter"

PHP
0

gd2 image resizing library in codeigniter

How to resize image in php codeigniter

    // Configuration.
    $config['image_library'] = 'gd2';
    $config['source_image'] = './img/images/uploaded/'.$ imgName.". jpeg";
    $config['new_image'] = './img/images/uploaded/'.$ imgName." _new.jpeg";
    $config['create_thumb'] = TRUE;
    $config['maintain_ratio'] = TRUE;
    $config['width'] = 50;
    $config['height'] = 50;
Posted by: Guest on February-11-2021

Browse Popular Code Answers by Language