I’m making an app that takes image, adds labels and then saves them to be viewed later.
We currently save the images in a stored list which works well but the app starts crashing after 8-9photos. We’ve also tried saving the images in databases etc.
We want to try using the cloudinary API to compress the images while saving. However this means saving images now takes an average of 30seconds which is too slow.
Just wondering if we can do the image save in the background, or does anyone have a better idea?
I interpret from your post that you are storing the file in a database or Cloudinary and storing only the url in Thunkable variables. This is how I would do it also.
Thunkable allows relatively easy parsing of text so you should be able to play around with Cloudinary URL’s and do all sort of wonderful things and it is very quick.
Have a look at Cloudinary transitions by URL in their documentation.
@jared, is there a way I can do this?
We tried making the image smaller by setting height and width…which helped slightly but obviously not a great/long-term fix
Sorry for the misunderstanding that @jared correctly pointed out.
I can’t see a way of controlling the resolution or hence the upload times but I have had no problem loading in the background using a dedicated screen and navigating away from it before calling the function in it. I hope this helps. I have made a simple app to demonstrate.