Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
How to show images like instagram posts
I'm trying to store image links of images uploaded from user's device by date packets in mongodb.I've created a "post" collection where images are stored inside the documents created by their email ids in this format { "_id: "abc", "17-11-2017/14-48": ["imglink1","imglink2"], "17-11-2017/14-50": ["imglink1"] } My problem is I'm receiving all the links correctly but they are being shown separately. Now my question is how to receive image links in such a way that the date packet containing multilinks will be shown in viewpagers and single imglink will be shown directly like instagram .
1 ответ
- 1
I’ve always had trouble getting images from files into code you have to copy the url which means that they have to be posted on the web.