This is the first time I’m working with image media and they don’t seem to be loading properly. I’ve used both HEIC and JPG as images, and the app demo both on a desktop and an iPhone XR.
When creating an Announcement, a user can add pictures, these pictures are displayed along with the Announcement (Media > Current Announce).
2 collections are used to display the images:
- Announcement has many-to-many relationship to Media
- Media stores the picture
There seems to be 2 issues:
A. Pictures show up, then disappear once the page loads and never reappear.
B. The most recent picture displays in all pictures slots.
See the screenshots below for what the issue looks like. It doesn’t seem to make sense.
(Issue B) Immediately after posting announcement, image shows up in in all pictures.
(Issue A) 3 minutes after post, or after the page reloads, none of the pictures load again.
(Issue B-related) The Media collection shows that the picture is only related to 1 announcement.
(Issue B-related) The list is pulling Media>Current Announcement, and not all Media.
Any help or troubleshooting is welcome. Thanks!