How to get the URL for the re sized image
I wouldn't use your approach because as you can see by yourself now you have no reference to the resized image, what I would do is use image_style_path :

function adddeals_submit($form, &amp;$form_state){
    global $user;

    $file = $form_state['storage']['file'];
    unset($form_state['storage']['file']);
    $file-&gt;status = FILE_STATUS_PERMANENT;
    file_save($file);
    $url = file_create_url($file-&gt;uri);
    // this
    $derivative_uri = image_style_path($your_style, $file-&gt;uri);
    $url = image_style_create_derivative(image_style_load('your_style'), $file-&gt;uri, $derivative_uri);
}


This creates a folder in your files folder with your style name and stores the image there, then wherever in your code you want to get that image you just reutilize this code:

$derivative_uri = image_style_path($your_style, $file-&gt;uri);
$url = image_style_create_derivative(image_style_load('your_style'), $file-&gt;uri, $derivative_uri);


Drupal checks if an image is there and gives you back the $url, if it's not there it creates the image applying your style. 

P.S. you need to register your style in configuration and once the style folder is created check it's permission settings.