What exactly are you after? What do you mean by "add an image"? Do you have a context? Do you have some code to share?
Would you like to load an image? Or display it on the screen (not gonna happen in OnlineGDB as it's a character-based terminal only, no graphics output)? What sort of image are we talking about?