Image URL - Filename input not working
![Robin C](https://us.v-cdn.net/6037124/user_avatars/4155299.jpg)
Hello Everyone !
For SEO purposes I need to change the filename while uploading. I used the "Filename" input in the "Create Image From file" function.
I thought it was it, but now my endpoint return an error : "wrong file extension".
Can someone help me to understand this filename input ? The documentation is not talking about it, should I append it with ".fileextension" ?
Thanks,
Robin
Comments
-
Hi @Robin C can you please share screenshots of your inputs + function stack and of your create image from file function?
Appending the file extension enforces the file type but is not necessary.
-
Hi @Michael Udinski, Thanks for the answer !
Here is the endpoint :
have I done something wrong ?
Thanks,
Robin
-
I was having the same issue.
You need to put in extension in the file name as well.
i.e. assuming your input "news_title" should contain text link: "breaking_news.jpeg" for image filename
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback