Item bitstream viewing in DSpace 7

151 views
Skip to first unread message

Chris Clawson

unread,
Jan 18, 2022, 4:22:15 PM1/18/22
to DSpace Technical Support

Things have changed in DSpace 7's item view. In 6.3, an item view displayed a thumbnail (with an embedded link) as well as a text “View/Open link”. Clicking on either would open the bitstream into the current browser window. Now in 7, the embedded link inside the thumbnail is gone and the “Files” link will only initiate a download dialog.

Is there a setting available to revert to the old behavior? Image oriented repository users may not wish to download each and every bitstream, especially before first seeing exactly what it looks like. If this is not possible now, will it be in the future? (Please?)

Mohammad S. AlMutairi

unread,
Jan 18, 2022, 5:10:09 PM1/18/22
to DSpace Technical Support
Hello Chris,

For image viewing and video playing you have to enable them in [dspace-angular]/src/environments/environment.prod.ts (scroll download to the end of the file) and then compile the frontend to be able to view images or stream videos on DSpace..

  // Whether to enable media viewer for image and/or video Bitstreams (i.e. Bitstreams whose MIME type starts with "image" or "video").
  // For images, this enables a gallery viewer where you can zoom or page through images.
  // For videos, this enables embedded video streaming
  mediaViewer: {
    image: true,
    video: true,
  },
Reply all
Reply to author
Forward
0 new messages