fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
486 stars 301 forks source link

Multiple copies of images in slideshow #3075

Open maekclena opened 4 years ago

maekclena commented 4 years ago

When viewing a media slideshow, the navigation buttons need to be pressed multiple times to navigate away from some of the current individual's images. For example, on John Ernest IV's slideshow, the next button needs to be pressed twice to see Francis Josias, and the previous button five times. Maybe the images are added multiple times?

fisharebest commented 4 years ago

We use the "lightbox" media viewer.

It shows all the media objects on the page.

Some media objects appear many times. e.g. on the family tab.

I think this is a bug in lightbox.

There are plans to replace lightbox, which has other problems.

ro-la commented 4 years ago

I have this problem only with media objects which have two files ("special thumbnail"). I hav to press the "next" button 3-4 times, than is displayed also the "big" picture. From then on it works as expected one click, one picture.

When clicking on the thumbnail what should be displayed first? The "thumbnail", or the second file?

On the demo in the tab Media there is the media object displayed twice. In the GEDCOM is only once. Perhaps because of the media object is also added to the family record - then it has a logic to display it twice.