displayImage function removed never used.