Images on social media showed the fire having ripped through the entrance to flats, with debris on the ground and damage to the interior walls.