Testing img function 6