image formating and  acess check work