default thumbnail - for items without or having a blank thumbnail image

88 views
Skip to first unread message

gustav chinovava

unread,
Jul 26, 2024, 6:18:05 AM7/26/24
to DSpace Technical Support, DSpace Community
Dear DSpace Users

Is there a way to have a default thumbnail that can be rendered for for items without or having a blank thumbnail image.

In place of the "No thumbnail"

Regards

Gustav

DSpace Technical Support

unread,
Aug 5, 2024, 11:59:23 AM8/5/24
to DSpace Technical Support
Hi Gustav,

There is no configuration to define a default thumbnail.  However, you should be able to modify the code of the "ds-thumbnail" component (or the CSS) to add a blank thumbnail image.

Here's where the code is that displays that thumbnail placeholder text ("No thumbnail available" by default): 

You should be able to change the HTML in that component, or maybe use CSS to display an image instead. 

Tim

gustav chinovava

unread,
Aug 19, 2024, 1:25:49 AM8/19/24
to DSpace Technical Support
Much appreciated Tim.

Got it and it worked via CSS

Regards

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/e1abca5d-4bbf-4020-9122-3119b3fb6f92n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages