Testing img function 22