From 8195b1ed98e4312b93e28c7577c22b61aac13991 Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Mon, 11 Mar 2019 13:55:17 -0400 Subject: [PATCH 1/3] use dataset thumbnail if available --- src/main/webapp/dataset.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/dataset.xhtml b/src/main/webapp/dataset.xhtml index 0cb0f9d80e4..133bb263b7f 100644 --- a/src/main/webapp/dataset.xhtml +++ b/src/main/webapp/dataset.xhtml @@ -43,7 +43,7 @@ - + From 372a3738278bb72cba08b3ed934d9c9e0e0bc817 Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Tue, 23 Apr 2024 14:52:48 -0400 Subject: [PATCH 2/3] add release note --- doc/release-notes/5621_dataset image in header.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/release-notes/5621_dataset image in header.md diff --git a/doc/release-notes/5621_dataset image in header.md b/doc/release-notes/5621_dataset image in header.md new file mode 100644 index 00000000000..34b445fd9e1 --- /dev/null +++ b/doc/release-notes/5621_dataset image in header.md @@ -0,0 +1 @@ +Dataverse will use the Dataset thumbnail, if one is defined, rather than the generic Dataverse logo in the Open Graph metadata header. This means the image will be seen when, for example, the dataset is referenced in Facebook. From cf1e35a1c6f9bc82d8062cb70bdff3134a8d82de Mon Sep 17 00:00:00 2001 From: Jim Myers Date: Tue, 23 Apr 2024 16:49:15 -0400 Subject: [PATCH 3/3] method now takes a size param --- src/main/webapp/dataset.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/dataset.xhtml b/src/main/webapp/dataset.xhtml index 3a109243f22..441c817da8f 100644 --- a/src/main/webapp/dataset.xhtml +++ b/src/main/webapp/dataset.xhtml @@ -86,7 +86,7 @@ - +