Closed Tian-Tan closed 4 months ago
We need the image bar when an occurrence has multiple images
The existing image window has "image nav bar". But it's not very complete?
Also, the existing nav function only has function navigate to the next image, not previous ones. I think we need to update it later.
We need to create some dummy data to test out the functionality @Tian-Tan Can you create some images that share same occurrences? For example, image 1, 2 and 3 are all linked to occurrence 1.
There might be some inconsistency with our current database with the code. So we need to wait until we get the new db to see if we should update the code or it's the problem of the existing db.
We just assume our current image path is correct, and implement the basic functionality.
Based on what we discussed before, one occurrence may have multiple images.. So the relationship between image and occurrence is
For occurrences with more than one images, there should be a nav bar where user can navigate through the images attached to this occurrence. We simply need to filter the image table to find out the related images