added image src extraction