Uploading image files to WordPress via WPCOM interface
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, node.js, wordpress
Research direction
Start by reading the linked WordPress media API documentation and the reproduction gist, then inspect the package's WPCOM interface for its existing upload path. Confirm the expected image-upload request and make the package's browser-based interface handle it successfully; the issue provides no named files or tests, so completion should be validated with a working image upload.
Written by the indexing model from the issue text.
Description
I've been working on this Node.js package to provide easy browser-based JavaScript interfaces to the common WPCOM functions for working with WordPress websites.
Most of it has been going pretty smoothly, but I've been having trouble with uploading image files.
I created this gist, to show one of my attempts, I've tried lots of approaches, based on docs I've been able to find, and working with ChatGPT and Meta.ai, both of which took some pretty wild guesses which indicates to me that it doesn't have a lot of good sources for this.
https://gist.github.com/scripting/1fc3f656748dbaa3d84aefc1322aa72c
Any help much appreciated!
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scripting/wpIdentity
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
scripting/wpIdentity#6 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
scripting/wpIdentity#5 · 2 comments ·
-
WebSockets rewrite Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
scripting/wpIdentity#4 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
scripting/wpIdentity#2 · 2 reactions ·