display results from a form in theme-settings.php
When you upload a file it creates an file ID (fid) that we need to call back, then generate the URL and then insert it.
Place this in your template file.

$fid = theme_get_setting('background_file');
$image_url = file_create_url(file_load($fid)-&gt;uri);
print '&lt;img src="' . $image_url . '"&gt;';


To print it out with an image style such as thumbnail:

$fid = theme_get_setting('background_file');
print '&lt;img src="' . image_style_url('thumbnail', file_load($fid)-&gt;uri) . '"&gt;';


Not tested.