Jesus spoke these words, lifted up His eyes to heaven, and said: "Father, the hour has come. Glorify Your Son, that Your Son also may glorify You." John 17:1
Jesus, in His earthly ministry never sought glory for Himself, but always sought glory for His Father. He never attempted to draw attention to Himself. In fact, several places throughout Scripture, Jesus commands people to tell no one who He really was. He sometimes hid Himself from people and often sought to get away from the crowds. He did not seek attention for Himself.
But He always sought the attention of His Father and attention for His Father. In the opening lines of His great intercessory prayer Jesus says to His Father, "Glorify your Son, that Your Son may glorify You." Jesus isn't seeking glory for Himself, but for the Father. Yet, He realizes that the ultimate way that the Father will be glorified, is if the attention of the world is upon Him at the Cross.
The Crucifixion of Christ didn't occur in secrecy under the cover of darkness in a small deserted town. No, it took place during a religious festival, in the light of day, in a city that was overflowing with people from all over the civilized world. Christ was "glorified" or lifted up, that the world could see and take note. But it wasn't about Him, it was about His Father. Jesus endured the public humiliation and torture on the Cross, so that others (including us) could see how much "God so loved the world." In His death on the Cross, Jesus glorifies the Father, and draws our attention to Him that we might know Him and glorify Him in our own lives. To God be the Glory!