allow users to upload images and view their own images


I am new to yii framework.I have an problem in uploading images i want user login and upload images the user can see just its own uploaded images in view not other users images is this is possible in yii …

and a simple way to upload multiple files i have used Xupload yii extension But it shows ChttpException

plz reply …


May be you could use the rights extension: and set a bizrule on the view controller displaying the image to allow only the user that added the image ?