WooCommerce Digital Items - Image Upload

Hi,
im struggling with finishing a flow that ends with a digital item upload to WooCommerce.

Product information and the file itself seem to work, but the product image is not working out.

My latest error was “Invalid URL in parameter ‘src’.”.

The flow has some steps and documentation in gsheets.

What im doing is using HTTP to pick an image from ChatGPT, that image gets transformed into an PDF which works. The same image also gets downloaded later in the flow and converted into a JPG with the IMAGE module.

WooCommerce is not accepting the image data as image URL source.

But it’s also not accepting the Google Drive link of the image file.

What would be the best way to make this work?

TLDR: I need to upload a ChatGPT Image to WooCommerce, how can i do it?

Welcome to the Make community!

You’ll have to host the image somewhere before passing the public share link to that URL field.

This is because the module only accepts a URL reference, so that it can download the file itself.

If the file is not public, then it won’t be accessible and downloadable.

One way of doing that is using a file hosting service.

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

1 Like

and Google Drive is not an option?

Im getting a similar error when saving the file in a GDrive and using the web content link to upload.

You might need to use the Google Drive “Get a Share Link” module to ensure the files are shared publicly first before you can use the link.

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

1 Like

thanks for your feedback.

So i’ve added a “get a share link” module.

Which works.

If i use now the “share link” module for Image URL

Im getting the error “The operation failed with an error. [400] Invalid image: Unfortunately, you are not authorised to upload this file type. (woocommerce_product_image_upload_error)”.