Will my iphone pictures go to other iphones?

I just brought an iPhone from a mutual friend & his icloud was NOT still logged in or anything but he had the phone before me. So i was just wondering will the photos i took or take be able to go to any of his apple devices or any devices if he tryed to get them? Like could he still use the imei # or something? I turned my photo stream & icloud sharing off but i was taking pics before i did that. I deleted some but from my understanding, deleting a picture won't delete them from the other devices unless you do it manually. But is it possible for him to actually get them on other devices if my icloud is the only one on the phone? He's kind of a creep so i just wanna make sure he couldnt get to them without my icloud. I know this sounds weird but i know nothing about tech stuff. I tryed to look it up but of course i found no answers relating to my situation

No. If it is not logged in there's nothing connecting that to his account.

You should have setup the phone and the first thing was enter your icloud ID and password. Then you go through the rest of the setup. At that point its yours and no it won't go to anyone else