Convert images and rename

hi, I want to make a simple button that change images of size, to 700x700 and rename each image to a number, like 1.jpg, 2.jpg etc, can anyone help me, I know its easy but cant find the way of do it. thanks.

I think this will do what you want.

@nodeselect Rename FILEINFO NUMBER 1 BY 1 TO "[#].{ext}" Image CONVERT HERE HEIGHT=700 WIDTH=700 PRESERVEASPECTRATIO REPLACE=always

Work very well, thanks!.