Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading image files to WordPress via WPCOM interface #1

Open
scripting opened this issue May 24, 2024 · 0 comments
Open

Uploading image files to WordPress via WPCOM interface #1

scripting opened this issue May 24, 2024 · 0 comments

Comments

@scripting
Copy link
Owner

scripting commented May 24, 2024

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!

@scripting scripting changed the title Uploading image files via WPCOM interface Uploading image files to WordPress via WPCOM interface May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant