Do you have any features or simple ideas for Adalo that would automatically update images randomly every day? I want to implement a system where the user doesn’t get bored and can select images.
Image Storage:
You’ll need a collection in your Adalo database to store your images. This collection should include:
“Image” (Image property)
“Date Added” (Date/Time property)
“Sort Order” (Number Property)
Random Number Generation:
Adalo doesn’t have a true, built-in random number generator. However, we can use a combination of techniques to achieve a pseudo-random effect.
Daily Update Logic:
We’ll leverage Adalo’s actions and scheduled actions (if available, or user interactions) to trigger the image update.
User Selection:
Allow the users to select their favorite images and store them in their user collection.
Implementation Ideas:
- Using a “Sort Order” and Daily Trigger:
Database Setup:
Create your “Images” collection as described above.
Add a large number of images to the collection.
Initialize “Sort Order” with random numbers. You can do this manually or by exporting and importing a CSV.
Hi @Yuki.O,
Could you please elaborate, what do you mean by “update images randomly”?
There is a Random Picker component (it’s a button but you can build a flow to get image using random picker and display it later). Also if you have a collection with images, you can create an index field there, make it sequential, and use RAND(1,X) function to get current image index, store it in some helper propertly, and then display a corresponding image - get an access via single-item list filtered by index above.
I’ve made a few videos about how to show things randomly. They don’t answer your question directly but might be useful for understanding general approach: https://youtu.be/t6_UeckEZOc, https://youtu.be/YolAjYSyqeU. They’re solving more complicated issue, but some bits may be useful.
Best,
Victor.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.