solve the diaplay of local img