If I recall, this is from SPIDER-MAN ANNUAL 2 (1965), that teamed Spider-Man with Doctor Strange.

Even over Spider-Man, I think Doctor Strange remains my favorite of Ditko's Marvel work. The surrealist panoramas are just amazing. All this from a guy who never did hallucinatory drugs!