Create an Option page from functions.php. Add this code in functions.php file
#CODE EXAMPLE
***While creating the image custom field for the Option Page, Your Image Return Format should be set as “Image ID”.
Now echo the image url.
#CODE EXAMPLE