I am using ImgBB API to upload images. I want to check if user has uploaded image or video to notify him because API gives error when you upload anything other than image. I am using “ImagePicker” but it is still showing some videos. I don’t want that. Is there any solution?
Thanks
Why don’t you use contains text block??
If it contains .jpg or .jpeg or .png allow the app to upload to image category.
Suppose if the Uploading file contains text .mp4 allow the app to upload to video category
1 Like
Can you show the block what you have tried?
vknow360
(Sunny Gupta)
April 14, 2021, 12:46pm
#5
They can be GIFs.
You should use Activity Starter.
What about using Cloudinary?You can upload all type of files there.
ImgBB has no limit but Cloudinary has limit.
I want to only allow image files, not videos
vknow360
(Sunny Gupta)
April 14, 2021, 1:28pm
#9
But GIFs are also images.
You can try this with Activity Starter:
action: android.intent.action.GET_CONTENT
data type: image/png
1 Like
Decoder_360
(The Decoder 360)
April 14, 2021, 3:44pm
#10
How to use imageBB in kodular ?? Is there any component in built in kodular or you using any extension ??
I have never tried that. Can you show be blocks?