[eluser]gtech[/eluser]
yes simplest way, after the form has been submitted if you are using title_photo as a variable name to post the file location to the upload logic.. you could check if title_photo is blank or not.
Code:
...
if (!$this->input->post('title_photo', true) == '')
{
if (!$this->upload->do_upload($field_name))
{
...
}
or somthing like that, before you make the call to do_upload.