implementing alt img comparison