Skip to content

"Next" button disabled after 20th file in Media Viewer #4554

@meelisl

Description

@meelisl

Describe the bug

When an item contains more than 20 files/images, the Media Viewer stops at the 20th image — the "Next" button becomes disabled and does not allow browsing further.

To Reproduce

Create an item.

Add more than 20 images/files.

Open the item in Media Viewer.

Try to navigate beyond the 20th image using the "Next" button.

Expected behavior

The Media Viewer should allow browsing all added files using the "Previous" and "Next" buttons — not just the first 20.

Test example

A test item demonstrating the issue is available on the DSpace Demo site:
https://demo.dspace.org/entities/publication/315f9c75-0a10-42de-bbcc-62384f5292e9

Metadata

Metadata

Assignees

Labels

affects: 7.xIssue impacts 7.x releasesaffects: 8.xIssue impacts 8.x releasesaffects: 9.xIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).bugclaimed: AtmireAtmire team is working on this issue & will contribute backcomponent: viewerRelated to media viewers / inline streaming of contenthelp wantedNeeds a volunteer to claim to move forward

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions