To upload images, you’re going to need to create two connections. One with Twitter (v5) and one with Twitter (v6).
You can find pointers on how to do that here:
Once you have these connected, you should be able to map the “media IDs” from the “upload a media” (V5) module output to the Create a tweet (V6) module.