Hi, I’m new to bubble, but I have been experimenting with the app for a while. I’m creating a social media app. Where users can post a picture, and very simply allow users to like and share the image. I’m struggling with allowing users to post an image using an image uploader. I got it to save to the database I’ve created, but how do I show the image on a different page, and how do I always show the newest image first? Any ideas please let me know. Also taking ideas for an easy like button system.
Thanks,
Anthony
1 Like
Hi there @AnthonyLakey
When an image is uploaded to the database you can simple retrieve it like any other saved information.
E.g. if you have your database set up with a data type Images. Then you could create an image element, and do a dynamic search for the image, constrained to the user, and set it to last item. That will bring in the last uploaded image by that user.
There are many ways to do this depending on your front end needs and backend structure.
1 Like
Thank you! Will all users be able to see the user’s image? Because ideally, I want all users and nonusers (people without an account) to still see the image.
That depends on what privacy rules you set for your data. You set this up in Data > Privacy.
By default everything is visible to everyone, even if you don’t show the image on a page.
okay, thank you! I’m just so new that it’s difficult to find help for the specific type of work I’m doing.
It takes a while to get around and learn all the ins and outs of Bubble and then adapt it to your specific needs. Don’t rush it, we’ve all been there ![:slight_smile: :slight_smile:](http://forum.bubble.io/images/emoji/twitter/slight_smile.png?v=9)
Luckily, there are some really smart and dedicated members on the forum that provides excellent help. I’ve been bugging those very people a lot myself ![:slight_smile: :slight_smile:](http://forum.bubble.io/images/emoji/twitter/slight_smile.png?v=9)
1 Like