It’s hard to compute, but from that pic, it looks like the fire started in the basket before it got to the balloon.
That balloon was in British Columbia in 2007.
http://www.seattlepi.com/local/article/11-survive-hot-air-balloon-fire-1247688.php
A later view: