cutsom header option on a template

i have added the code for adding custom header (add_theme_support( 'custom-header' ); etc..

but my header pic is on the css file.

how can i change it ?

i saw something about working with style.php.

but im not able to do it