change the way to load picture