add function showpic