I'm continually amazed to see that someone saw something that way, or developed an idea of putting something together in a certain way that I hadn't seen before. Sometimes, I will enter a gallery and one particular piece, sometimes at the far end of the gallery, barely visible to my eye will attract me. It calls out to me - it's energy reaching me long before my intellect is engaged. Or is it the composition, a dance of perfect balance, hanging out in it's own way, as it relates to its environment. Yes I have been inspired many times from visiting galleries to look at art.
Music is also a source of inspiration.
Different for different moods. Maybe its notes of the oboe or violin, that evoke images of another time, another place. Music ignites the imagination. It creates images in the mind, evokes a mood, draws out something from deep down inside us that is too delicious to try to understand with our logical thinking mind. It exists on its own, without the need for further understanding and intellectualizing.