Testing img function 8