fixed gif and png processing if remote server dose not Accept-Ranges