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

Images are double when uploading via source attribute #296

Open
Ventaspective opened this issue Jan 4, 2025 · 0 comments
Open

Images are double when uploading via source attribute #296

Ventaspective opened this issue Jan 4, 2025 · 0 comments

Comments

@Ventaspective
Copy link

Hi there

I have a problem wih the REST API of WooCommerce. We are using it from FileMaker to WooCommerce to upload Products.
We only have the image source in our program in FileMaker.
So our goal is to upload the image with the REST API along with other attributes.
Everything works well except it creates a second image in the WordPress Media.
But we don't want to have double pictures on our website.
We want to upload the picture on Wordpress manually and then use the REST API with the source attribute.

It only works when you use the ID of the image, but we want to work with the source.
Is there a possibility to work with the source attribute and not have double pictures?

Thanks!
Best regards,
Lisa

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