It's a matter of degrees.
Think of the image of God in human beings (< L. Imago Dei, Hebrew: צֶלֶם אֱלֹהִים; tzelem elohim, lit. "image of God") as being a finite representation of divinity. What is of infinite degree in God is finite in man (humankind).
In the so-called "personality-purpose approach" to the image of God in man, the three key attributes or aspects of God in man are
The Human Side of Things
Intellect
Intellect is the rational, logical, symbol-oriented (i.e., language-oriented), communicating aspects of God in us. I am not implying that the eternal God had a language before he began his creative work. Perhaps God communicated within the Godhead via pure thought, since God does not have the apparatus for speaking or signing ("God is spirit," John 4:24).
God does, however, communicate with his creatures through general revelation (see especially Psalms 8 and 19) and special revelation (Scripture, and other means, such as dreams, visions, speech via human personages, and more). We think of the latter as "silent" and the former and "audible" (or readable) through language. While there was tremendous variety in human language and communication systems both before and after--especially after--the Tower of Babel (Genesis 11:7), what unites mankind is our need to communicate within ourselves intra-personally, and with other people (and animals, too) interpersonally, via verbal and nonverbal means (e.g., gestures and other means and cues, both silent and non-silent).
Silent cues could include miming with one's visible body parts, and non-silent cues such as singing, grunting, imitating animals, and even subtler cues which are communicated and interpreted with such rapidity that it is difficult to describe and quantify them with any degree of exactitude.
As a rhetorician I am bound to emphasize the communication aspect of intellect, but we must also consider man's inventive ability, organization ability, problem-solving ability, adapt-ability*, memor-ability* and so much more, all of which are made possible through symbolic thinking via language.
Emotion
Emotion bespeaks feelings, of course, and in addition to the obvious ones such as love, hate, anger, rage, compassion, sadness, joy, passion, apathy, envy, jealousy, pride, regret, anticipation, bitterness, fear, happiness, contentment, anxiety, ad infinitum, there are also admixtures and varying intensities of feeling, some of which are difficult to articulate, let alone define.
Sometimes we are helped by thinking of emotions as inner states of mind which have at their extremes, pain and pleasure, or elation and misery. Often these two extremes spill over, or affect, other people both negatively and positively. A miserable and psychopathic reprobate may not think of himself as miserable, but he can surely inflict misery and pain on others! A person in the pit of depression can also be a "downer" to those around him or her.
On the other hand, elation in one person can have a spillover effect on other folks, too, as if there is a contagion effect associated with extreme joy, enthusiasm, laughter, and peak, positive, celebratory moments. What can make a friend, for example, rejoice along with another friend who is celebrating a peak moment in life can also make someone else envious, jealous, bitter, and resentful! More typical, however, are those less intense but equally good feelings which in a positive way can buoy us along in life, or in a negative way bog us down, if only temporarily.
Will
Will, or volition, is the third aspect of Imago Dei in the human species. God has invested in the human species the ability to decide, to choose, to make decisions. We are, in a sense, free moral agents within the parameters God set for us. We cannot decide to violate the laws of gravity and physics with impunity, of course, but outside the natural laws, God gives us a great deal of latitude in what the Bible calls the law of "reaping and sowing."
Volition, of course, is potentially both a blessing and a curse. When we sow seeds of hatred, lust, anger, bitterness, or one or more of a host of bad seeds, we inevitably, sooner or later, reap what we've sown. That is the curse. The good news, in the words of the Christmas carol by Korbel and Watts, is that
He comes to make
His blessings known,
Far as the curse is found.
We, with God's enablement, can break the negative aspects of volition by surrendering and yielding our entire beings to God in a spiritual service of worship (Romans 12:1 ff.). Instead of becoming robots thereby, we become all that God meant us to be before our fall into sin.
The Divine Side of Things
Within the Godhead, the elements of intellect, emotion, and will reside eternally and to an infinite degree. That is why I prefaced my answer to your question as I did (viz., "It's a matter of degrees").
Intellectually, God is omniscient and the possessor of infinite and perfect knowledge and wisdom. God does not learn. Whereas he creates out of his infinite fullness, we can only invent with the raw materials with which he has provided us. He observes with utter clarity. There are no secrets or hidden motives which he cannot understand fully, which is why, in part, he is the righteous judge of all humankind. In other words, God is light (1 John 1:5), and he dwells in unapproachable light. Nothing is hidden from the searching and penetrating light of his gaze.
Emotionally, God is characterized by supreme love ("God is love," 1 John 4:8 & 16), which is more than just a mere feeling, but it is also a behavior pattern which is expressed through sacrifice, selflessness, and unconditional positive regard for all people, even though they are helpless, ungodly sinners and act like his enemies (Romans 5:6-11).
Because he is a thrice-holy God, he also experiences anger, also referred to as "the wrath of God" (e.g., Romans 1:18). There is nothing capricious, vindictive, hateful, or random about God's wrath. While his patience with his fallen masterpieces (i.e., us!) when compared to our human patience is seemingly infinite, it does come to an end, and subsequently is expressed righteously, energized with both holiness and justice.
We could go on to talk about other emotions which Scripture reveals to us about God, such as his compassion and tenderness, his joy and delight, his gracious and generous spirit, his kindness and gentleness, and so much more. The key, of course, is that God's emotions are never out of control, nor are they expressed sinfully as they are in his image-bearers.
As to will and volition, God alone has a free will. In other words, God's will has no limits imposed on it, save the "limits" imposed by the perfections of his attributes. Every expression of his will, ultimately, conforms to the eternal plans and counsels of his will. Nothing and no one can thwart him in this regard, at least in the "big picture." Put differently, the devil and his minions and God's image bearers on earth can oppose and hinder God's plans and purposes up to a limit which is known only to God.
God's image bearers can experience a life full of blessing, fulfillment, and true significance when they align themselves and their wills with God's plans and purposes. By the same token, however, we succeed only in hurting ourselves and robbing ourselves of God's blessing when we choose to be autonomous and act like stupid sheep going their own way (Isaiah 53:6).
Conclusion
God's will is always good, acceptable, and perfect (Romans 12:2). We can prove this to be true by aligning ourselves with his will. The choice, however, is ours. To continue to conform to the world, or as J. B. Philips put it, to allow the world to squeeze us into its own mold, is to forfeit the transformation of our hearts and minds into that which is pleasing to God and beneficial to ourselves. Our prayer should always be,
"Thy will be done on earth as it is in heaven"
One day, that will become a reality in all its fullness.
*I realize these hyphenates are misspelled, but I think you know what I am after.