CodeIgniter

Create thumbnail images in CodeIgniter

In this post i would like to explain about how to create thumbnail images in codeigniter framework. In the following function will give the clear understand about the code. Create Thumbnail Function function _createThumbnail($fileName) { $config[’image_library’] = ‘gd2’; $config[’source_image’] = ‘uploads/’ . $fileName; $config[’create_thumb’] = TRUE; $config[’maintain_ratio’] = TRUE; $config[’width’] = 75; $config[’height’] = 75; …

Continue Reading