I have gotten gifts I dont like before, but I really just try and be happy that someone gave me anything and thought of me at all. If it is a gift that is nice but I wouldnt personally use, I will put it away to be "re-gifted" if I think it would be appropriate for someone I know... Many times I will offer it to someone I know can use it, tell them the truth... that it was a gift however, I cannot use it and thought they might like it... otherwise I will try and donate it if possible.
Although it is annoying when you put a lot of thought into someones gift and they give you something that was obviously thoughtless (like a photo of themselves! seriously?)