HELP - Upload feature image to Post wordpress

@Jon

just drag and drop the ID field into that box

@RedPacketSec

I know, but what location is this identity from? is the ID of the image that is inside the Wordpress node?? or is it some previous node.

when you upload an image into your wordpress library, each image gets given an ID. That is where that number comes from, you can type the ID number in manually if you wanted to.

Or upload an image in a previous node and capture the id in the output and link to that.

@RedPacketSec

This is my previous node.

inside it has the image data, but notice that the id is: pexels-photo-16023863.jpeg

When the flow runs, inside the wordpress node no image data appears. She appears only in the media and in the article.

post the entire json output without anything sensitve showing.

also I’m setting the featured image at the same time I post I don’t use the Wordpress nodes, its all done via HTTP nodes

@RedPacketSec

I understand, you do it differently, that must be why yours is correct.

Can you send me a print of your flow in private, so I can see how to do it?

of this end, of the nodes.

@Edgard_Neto the example below will download an image, upload it to Wordpress then set it as a featured image for post id 1. You will need to adapt this as needed for your flow to use the data items from previous nodes.

@Jon Ok, I’ll try it, I’ll come back to tell you if it worked.

4 إعجابات