Testing img function 7