Removed unused function adImg()