BU-Spark / se-Symbiota-portal

The Symbiota Virtual Flora/Fauna project is an open source software project, with central goal of developing on-line tools that aid in the generation, exploration and management of biodiversity data (collection specimens, observations, images, checklist, keys, etc.). See also: http://bdj.pensoft.net/articles.php?id=1114 and http://symbiota.org/
GNU General Public License v2.0
1 stars 3 forks source link

Image nav bar #36

Closed Tian-Tan closed 4 months ago

Tian-Tan commented 1 year ago

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

ttaliacc commented 11 months ago

We need the image bar when an occurrence has multiple images

ttaliacc commented 9 months ago

The existing image window has "image nav bar". But it's not very complete?

Screenshot 2023-11-30 at 11 33 51 Screenshot 2023-11-30 at 11 33 43

Also, the existing nav function only has function navigate to the next image, not previous ones. I think we need to update it later.

ttaliacc commented 9 months ago

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.

ttaliacc commented 9 months ago

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.

ttaliacc commented 5 months ago

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