Ciao,
puoi usare la funzione get_headers
Codice PHP:
$headers get_headers $url_immagine ) ; 
La funzione ti restituirà un array con tutti gli headers ricevuti dal server in risposta a quell'url.