Uploading media files to Wordpress

Good Day Make Maestros!

Not sure what I am missing - likely something simple.

I have an automation that creates an image, then it creates alt text, then I want to get it to upload both to Wordpress.

Simple, and it mostly works.

Image works, I checked that out. Alt text is there too, it looks good. Now, I set the get HTTP to map things out in Make.

Then, I mapped it out in the Create Media for WP.

Yet I get an error when I try to run it.

I believe the image in DallE is PNG? I will start a new thread with questions on that if needed - however here is the image, there is nothing wrong with it other than spelling mistakes - https://oaidalleapiprodscus.blob.core.windows.net/private/org-qnaL8Vyvri30WvLmfnSSWfps/user-fzpDZwTPISSrxm6nbbxguAqX/img-9uvDvCWSRWNosjEtYYTgGMss.png?st=2024-09-29T14%3A32%3A37Z&se=2024-09-29T16%3A32%3A37Z&sp=r&sv=2024-08-04&sr=b&rscd=inline&rsct=image/png&skoid=d505667d-d6c1-4a0a-bac7-5c84a87759f8&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-09-29T00%3A38%3A06Z&ske=2024-09-30T00%3A38%3A06Z&sks=b&skv=2024-08-04&sig=1PlcB80HA8T6yBB8Fpjvrx5FCUOR3PSqNYZsGGbzgIw%3D

Thoughts and help, my friends?

Thanks in advance.

:grin:

Where you have file just select the source module where you have the file data already downloaded. In this case im guessing its the openai module.

Hope this helps

I did manage to figure it out.

So, I did a short test. I created an image, then had that image URL captured by the HTTP module. Then, I translated the image (built in module) to a PNG. While this is not the ideal format for me, it is a start, then I can use a plugin to fix the formatting.

Then, I resized it to 512px square, just setting the image module again to do that.

Then the last step is to upload that to Wordpress, with my file name and alt text.

My next step will be to include that image as a feature image in the posting.

Screenshot of the process I found to work =

image

image

… and then it is in Wordpress media library -

I will add in a plugin that makes the images into WebP next.

Thanks!!

Cheers to all.