Testing img function 21