Upload Image with Image Title

I want to upload Images to cars model for example car may have interior ,exterior or some custom thing done that user would need to tell about.

I want to upload Image along with Title. I am trying using x Upload.

I have following questions

How can you add Title while adding Picture?

What coding you need to have in Controller to save Images as well as Title.

Following is my View code


$this->widget('ext.xupload.XUploadWidget', array(

    'url' => Yii::app()->createUrl("site/upload", array("parent_id" => 1)),

    'model' => $model,

    'attribute' => 'file',


    'options' => array(

        'beforeSend' => 'js:function (event, files, index, xhr, handler, callBack) {

            handler.uploadRow.find(".file_upload_start button").click(callBack);





<button id="start_uploads" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary">

    <span class="ui-button-icon-primary ui-icon ui-icon-circle-arrow-e"></span>

    <span class="ui-button-text">Start Uploads</span>


<script type="text/javascript">

$('#start_uploads').click(function () {

    $('.file_upload_start button').click();



any help is appreciated thanks:)

O come on no one how come every one recommend this extension with no support :(