Search the Community
Showing results for tags 'image upload'.
How can I insert upload image of a user into database while registering and preview it in view_user.php
I am new to Yii framework and reading "The Yii book" to understand Yii. The book is really excellent and I am enjoying it. In my project I have a controller called "UserController" and also have the associated model "User" and related View files created using Gii. On the "/user/create" page I am uploading user profile picture. Its all working fine from the create page. However, when I try to upload the picture using REST Client (I am using Chrome - Advanced REST Client) the picture is unable to upload. If I upload all the other text (e.g email, firstname etc) details except the picture on