added controller get image info logic