How to set file extension

i need helpT-T

I would like to know how to write a code to define the file extension to be posted in the app. I want the app can post only png files picture.

thank you very much

What do you mean by “post”? You can either upload images in Thunkable or you can host them on another site such as Cloudinary. Either way, you determine which format and file extension to use.

I’m trying to build an app. collection of png images I want to set the file extension for people who use the app to post only png. But my group doesn’t know how to write code.T-T

I would recommend allowing users to upload in any format they like and then doing the conversion in Cloudinary:

1 Like