fail when import image

We need to see your code. The screenshot does not give us much.

Have a look at