Yii Image Thumbnail Tutorials

Create Image Thumbnails

This tutorial will help you to create “Thumbnail image”. When you upload the images using Yii Framework, You can create thumbnail image. Here i explained step by step.Step 1: First Create one simple extension for image thumbnail. Add the thumbnail_images.php file into extensions/ThumbnailImages folder.Step 2: Configure the model for files. Here i just created simple model “Files” for images <?php class Files extends CFormModel { public function rules() { return array(array('images', 'required'),); } […]... Read More »