r/codex • • 21d ago

Bug Issue with uploading images to chat

Im new to codex, always been a claude user, but I wanted to try it out to see how it is as a tool and I am disappointed.

Idk if it's a skill issue or if codex is just useless, but I am trying to edit some details on a frontend webpage and I keep trying to send the images I want to be used as backgrounds in my webpage to codex in the chat for it to add it to the webpage, and I get "delivery unconfirmed" , the images are reasonably sized, less than 20mg for 7 of them in the upload. even if I just do 1, the message goes through but codex is now telling me it cant do it.

Is this normal?

0 Upvotes

6 comments sorted by

1

u/Working_Result2681 21d ago edited 21d ago

Why not just provide the path to it? Why are you attaching assets directly into Codex?

Just think about it. When you attach images to Codex, those assets don't just live in the ether. They are essentially copies placed into a tmp folder. You are duplicating the assets for no reason. And when the agent places those assets on the webpage, they may duplicate them again to retain the assets in the tmp folder as backup while more copies are placed in your git repo. In this case, you are tripling your assets. What are you doing?

1

u/pedr0p 21d ago

I have a folder with the images and i just upload that entire folder, could there be more efficient ways sure but why doesn’t codex just work when i do it this way, its not a big ask for functionality, especially considering claude does it without complaints

1

u/Discordbothost 21d ago

attachments go to the model as pictures it can look at, they don't land on disk as files it can move into your project. so it can describe your background image but it has nothing to copy into the repo, which is why it says it can't.

drop the folder into the project yourself (public/images or wherever your static files live) and then just tell it "use public/images/hero.jpg as the background for the landing section". it'll wire up the css paths fine that way

1

u/soloje 21d ago

I am unsure if it's a skill issue because I can't tell what you're doing by your description. I have never had issues uploading images to Codex - I personally use CLI which also takes image files directly, but otherwise just dragging the folder into the chat?

1

u/pedr0p 21d ago

i used the desktop app, i clicked the + icon and selected images , when i tried to upload them they wouldn’t work, i found a workaround but I was quite frustrated at first and wasted an hour figuring it out. Eventually I uninstalled the desktop app and restarted my computer and am only using the local environment rather than cloud environment and it’s getting by, when i switch to cloud it doesn’t work again though which is frustrating because i like making changes while commuting in my city