adverb, noun which may take the genitive case particle 'no'
as imagined; as expected; just as one pictured
Used to say that something matches what one had imagined or expected. Often appears adverbially or with の to modify a noun.
結果は想像通りだった。
The result was just as I had imagined.
想像通りの景色が広がっていた。
The scenery was exactly as I had pictured.
予想通り focuses on a prediction or forecast, while 想像通り is about matching a mental image or imagination.
Compound of 想像 (imagination) + 通り (in accordance with).