Closed #5726: Let image and audio support to load from local file

Let image and audio support to load from local file