I am exporting images created by chatgpt module to wordpress, using the Wordpress create media module
The problem: in all runs, the system assign automatically the filename “output1.png” as the file name
I need a unique file name for each run, so new images are uploaded to Wordpress without replacing the first output1.png file.
It is important for me what will be the fine names long it is unique and it is in the proper format, namely with .png extension.
Idea how to do it? I think you can map it to change the name but i dont know what field to do it on or what to put in there.
Yes, you should be able to rename the file, by splitting the mapping of the file data (buffer) and file name.
For further assistance, please provide screenshots.
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
thanks. Im not sure what that means about Buffer so il ltry again and put some screen shots.
Everytime I run Chatgpt to create an image , it does it and names it output1.png. See attached. Then when it uploaded to Wordpress, it uploads the media under that same name and it changes all previous images which were that name.
How can I fix this? thanks
blueprint 2.json (75.0 KB)
Welcome to the Make community!
For more information, do view these similar questions previously asked by other community members, which may answer your question:
Next time, please try to search this forum first for existing answers. This may help you get to the solution faster, and also help keep the forum organised. Thanks for your cooperation!
For more information, see the Working with files page in the Make Help Centre, which covers the following:
- How to map a file
- Maximum file size
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.