Thumbnail for all items

74 views
Skip to first unread message

Pedro Nascimento

unread,
Dec 12, 2024, 3:19:38 PM12/12/24
to DSpace Community
Is it possible to place the same image(jpg) as a thumbnail for all items in the repository, or for a specific community? without using filter media?

Pedro Nascimento

unread,
Dec 16, 2024, 3:33:25 PM12/16/24
to DSpace Community
I'm returning to this post to report that I managed to define this for all registered items
that does not have an image thumbnail, displays a standard image thumbnail.

Editing the /src/app/thumbnail/thumbnail.component.ts file
 
Defining a variable:
 
 @Input() default image? = null;
 to
 @Input() default image? = '/assets/images/default-thumbnail.jpeg';  //Default image path
Reply all
Reply to author
Forward
0 new messages