Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1
  • 2

TOPIC:

Display of multiple Media Files in single Media Object 2 months 4 days ago #1

  • kybuck83
  • kybuck83's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
I have gotten into the habit of putting multiple media files (pages from the same document, etc) into a single media object. In 2.0.x, all of the images appeared next to each other on the person's page, which allowed scrolling through all of them as part of the gallery. In 2.1, only the first image shows up, even when scrolling through. Both images show up when viewing the media object, but clicking on the media object title to see if there are multiple pages/images is not intuitive.

Is this the expected behavior? If so, I can split the media files into separate media objects where necessary so they show up easier.

I verified this behavior is consistent in the stable (2.1) and dev (2.1.1) demos.

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 1 month 3 weeks ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16089
This will be fixed in the next release.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 2 days ago #3

  • kybuck83
  • kybuck83's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
Hello, this appears to still be an issue in 2.1.5. Is this still planned to be corrected in an upcoming release?

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16089
As far as I can tell, the issue was fixed. Maybe your issue was similar, but different?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #5

Scrolling through the images i viewer is now working, but still one (the first) thumbnail is displayed in Facts and events tab.
Previously all thumbnails were displayed side by side on Facts and events tab
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #6

EDIT! Scrolling through image files does not work correctly.
Clicking the next button in viewer will display the previous images added to the database. Images even connectet to other individuals!
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #7

  • kybuck83
  • kybuck83's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8
I'm still seeing inconsistent and unintuitive results. I was able to get a couple to somewhat work after disabling the "faces" add-on (oops!), but I had to either scroll backwards from the first image, or far enough forward that it looped back around. Even then, I'd sometimes have to scroll through the "first" images a couple times before it would show the others.

My server is local (offline), so I can't share a link, but I added a 2nd and 3rd image for "Buckingham Palace" on the latest beta demo server and had the same behavior when viewing Queen Elizabeth II (I don't know if the demo auto-resets at some interval, but it can be easily reproduced)

I didn't realize anything had changed in terms of scrolling through the images since only the first image is still shown as a thumbnail. I realize that may be preferred for a more streamlined appearance, but if there could be an option to show all thumbnails in this scenario, it would be appreciated. Or an icon or some other way to denote that there are multiple media files in that single object.

I've noticed that if "Events of close relatives" is checked, only the first media file from the relative's events would show up when scrolling through the images.

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #8

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1096
> As far as I can tell, the issue was fixed.

I am sorry Greg, but this issue isn't fixed. Hopefully the screenshots below makes things clear.

This object consists of two media files:


On the facts and events and on the media tab only the first one is shown:





While on the album tab both images are shown:



I am pretty sure that in webtrees 2.0.x versions both image were shown on both the facts and events tab and on the media tab.

Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar and Fancy Research Links for webtrees 2


Check my website at www.justcarmen.nl
Attachments:

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #9

Even worse, browsing a multi media object in the viewer, now takes you through the whole media folder, displaying media not connectet to the individual at all. Reported here:
github.com/fisharebest/webtrees/issues/4463
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16089
That's actually working as designed - but feel free to suggest a different design!

Where we are showing the media object (media/album tab, media page) as itself, we show all media files.

But where we are showing something else (main image at top of individual page, media attached to citations, facts, auto-complete for individuals, etc.) we only show the first/primary media file.

Suppose you have 20 images for a 20 page document. Would you really want all of these shown attached to a source citation?

> Even worse, browsing a multi media object in the viewer, now takes you through the whole media folder, displaying media not connectet to the individual at all

Not sure what you mean here? Perhaps the same as github.com/fisharebest/webtrees/issues/4458
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #11

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1096
> Suppose you have 20 images for a 20 page document. Would you really want all of these shown attached to a source citation?

Actually yes. But 20 is maybe a bit to much. I think I would limit it to 5 with a read more link or something like that. But now a visitor has no idea there are more images to view. Most visitors only look at the facts and events tab without touching any of the other tabs.

Edit: if limiting means you can't scroll through all 20 images, then they shouldn't be limited, I guess.

Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar and Fancy Research Links for webtrees 2


Check my website at www.justcarmen.nl

Please Log in or Create an account to join the conversation.

Last edit: by JustCarmen.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #12

  • JustCarmen
  • JustCarmen's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 1096
I have a local instance of the latest webtrees 2.0 version and there we saw all images from a media object on the facts and events tab.

This screenshot is taken from the facts and events tab in version 2.0.23.



Here the two images were visible. If the objects had contained 20 images, all 20 would have been visible.

Like the topic starter, I was in the process of converting my multi page pdf files to multi page media objects, but that no longer makes sense since version 2.1 because the images are not shown anymore at the most important page: the facts and events tab.

Edit: Besides, you should be able to click through all images when clicking on a thumbnail. Even then it is not clear anymore that the object contains more images.

Carmen
Designer of the JustLight theme (comes with a light and dark color palette), Fancy Imagebar and Fancy Research Links for webtrees 2


Check my website at www.justcarmen.nl
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by JustCarmen.

Display of multiple Media Files in single Media Object 3 weeks 1 day ago #13

Sorry for being unclear Greg. This media object consists of two image files, page one and two of a document.
visitusinmaputo.com/webtree/tree/familie...enger-List-SS-Celtic

Clicking this thumbnail on indi page will open page one in colorbox as expectet. However, clicking the next button does NOT (!) display page two. Instead other image files not attached to this individual are displayed. I now realised these are image files connectet to other family members and that they would would appair on the indi page IF "Events of close relatives" was enabled. (In my case this is not enabled)

Only after browsing through all images several times, the second page of the document is displayed. This must be a bug.

In my opinion, only the media files attched to the fact/event should be displayed in the colorbox, or at least it should be restrictet to media files connectet to the actual individual.(I think the latter was the previous behaviour)

Also, I agree with JustCarmen that all thumbnails shoud be displayed on indi page as in earlier versions.
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 22 hours ago #14

Additional comment to above
As I understand it, colorbox displays all images found in the page. Is this the reason why only the first file in a multi file media object now is displayed?
Now there is only one thumbnail (first file in object) causing the following files not to be displayed?
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 20 hours ago #15

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 16089

Additional comment to above
As I understand it, colorbox displays all images found in the page. Is this the reason why only the first file in a multi file media object now is displayed?
Now there is only one thumbnail (first file in object) causing the following files not to be displayed?

Yes. Colorbox just searches for all the images on the page. If the same image occurs more than once, it will be included more than once.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 3 weeks 19 hours ago #16

If the same image occurs more than once, it will be included more than once.


I understand :) However, the problem here is image files NOT being displayed.
As there now is only one thumbnail displayed for a multi file media object on indi page, only this image is displayed in colorbox.

I just added a media object containing four images A, B, C and D to the Demo site. Please take a look:
dev.webtrees.net/demo-stable/index.php?r...2%2FLady-Elphinstone

Opening the media object in colorbox, B, C and D are not displayed when clicking the next button.
Is this because thumbnails B, C and D do appair on the indi page?

In Album tab all thumbnails are present, and images are displayed as expected
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

Last edit: by HRN.

Display of multiple Media Files in single Media Object 3 weeks 17 hours ago #17

  • kybuck83
  • kybuck83's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 8

Opening the media object in colorbox, B, C and D are not displayed when clicking the next button.

But even stranger, if you keep clicking the next button and cycle all the way through all the images, B, C, and D do eventually appear when it loops back through the images. Maybe it's cycling through the INDI/album tab images at that point?

In my testing, following the same steps, B, C, and D do not appear when looping back through if the event is of a close relative. Just "A" would show up.

Please Log in or Create an account to join the conversation.

Last edit: by kybuck83.

Display of multiple Media Files in single Media Object 1 week 2 days ago #18

  • Andreas
  • Andreas's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 656

That's actually working as designed - but feel free to suggest a different design!

.......
Suppose you have 20 images for a 20 page document. Would you really want all of these shown attached to a source citation?

Yes, I mostly use this to show one, two or three views of a media object.
I agree with Carmen and HRN.
And I would like to see them all attached to a source citation.

Please tell us whether this could be realized in one of the next releases.

If not I can't see the advantage of adding more than one media files to a media object.
MAUPILLÉ & RAUHUT family using webtrees V2.1.6

Please Log in or Create an account to join the conversation.

Display of multiple Media Files in single Media Object 1 week 1 day ago #19

  • Andreas
  • Andreas's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 656
It is sad.
Even in the new version 2.1.6 it seems not to work as desired.
MAUPILLÉ & RAUHUT family using webtrees V2.1.6

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

Display of multiple Media Files in single Media Object 1 week 1 day ago #20

It seems to work fine as usual in 2.1.6


Andreas, I can not see the problem displaying multi file media objects has been fixed in 2.1.6
Do you say it's now working for you?

See
dev.webtrees.net/demo-stable/index.php?r...arguerite-Bowes-Lyon
webtrees 2.1.6 at visitusinmaputo.com/webtree PHP 7.4.29
webtrees 2.1 dev on local WampServer PHP 7.4.9

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum