Add function loadPicture(src)
add picture load function