Load images from local disk if possible

Change-Id: I21c477131d714dde6029db7193ab1063809581b5