Does this passage imply that we SHOULD NOT give if others can see and know that we are doing so?

No -- while it probably sets secret giving as a preferred method of giving, it is primarily directed toward our MOTIVE for giving, not a method. It's really about WHY we do what we do, not how (although the two concepts do tend to overlap.)

Matthew 6:1-4