Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix background color on report pages (#915)

Olga Bulatcf9a2d311b23
diff --git a/frontend/src/composables/use-match-routes.ts b/frontend/src/composables/use-match-routes.ts
index cf1be72c3..6539f3d0d 100644
--- a/frontend/src/composables/use-match-routes.ts
+++ b/frontend/src/composables/use-match-routes.ts
@@ -52,7 +52,7 @@ export const useMatchSearchRoutes = () => {
}
/**
- * Reactive property that returns true only on the `single result` routes.
+ * Reactive property that returns true only on the `single result` and `full-page report` routes.
* Homepage, search results and other content pages return `false`
*/
export const useMatchSingleResultRoutes = () => {
diff --git a/frontend/src/pages/image/_id/report.vue b/frontend/src/pages/image/_id/report.vue
index 878e37e05..462e167ef 100644
--- a/frontend/src/pages/image/_id/report.vue
+++ b/frontend/src/pages/image/_id/report.vue
@@ -14,7 +14,7 @@
/>
<!-- Disable reason: We control the attribution HTML generation so this is safe and will not lead to XSS attacks -->
<!-- eslint-disable vue/no-v-html -->
- <caption
+ <figcaption
class="block w-full text-left text-sr"
v-html="getAttributionMarkup({ includeIcons: false })"
/>
@@ -61,6 +61,7 @@ export default defineComponent({
VContentReportForm,
VSkipToContentContainer,
},
+ layout: "content-layout",
setup() {
const i18n = useI18n()
const singleResultStore = useSingleResultStore()
diff --git a/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts
index 07a5c257e..6817dc9c0 100644
--- a/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts
+++ b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts
@@ -6,6 +6,7 @@ import {
goToSearchTerm,
languageDirections,
openFirstResult,
+ pathWithDir,
setCookies,
} from "~~/test/playwright/utils/navigation"
@@ -40,3 +41,20 @@ for (const mediaType of supportedMediaTypes) {
})
}
}
+
+for (const dir of languageDirections) {
+ breakpoints.describeMobileAndDesktop(({ breakpoint, expectSnapshot }) => {
+ test(`${dir} full-page report snapshots`, async ({ page }) => {
+ await setCookies(page.context(), {
+ uiBreakpoint: breakpoint,
+ uiIsFilterDismissed: true,
+ uiDismissedBanners: ["translation-ar"],
+ })
+ const IMAGE_ID = "da5cb478-c093-4d62-b721-cda18797e3fb"
+ const path = pathWithDir(`/image/${IMAGE_ID}/report`, dir)
+
+ await page.goto(path)
+ await expectSnapshot(`${dir}-full-page-report`, page, { fullPage: true })
+ })
+ })
+}
diff --git a/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/ltr-full-page-report-sm-linux.png b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/ltr-full-page-report-sm-linux.png
new file mode 100644
index 000000000..e43330fdc
Binary files /dev/null and b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/ltr-full-page-report-sm-linux.png differ
diff --git a/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/ltr-full-page-report-xl-linux.png b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/ltr-full-page-report-xl-linux.png
new file mode 100644
index 000000000..601bad435
Binary files /dev/null and b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/ltr-full-page-report-xl-linux.png differ
diff --git a/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/rtl-full-page-report-sm-linux.png b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/rtl-full-page-report-sm-linux.png
new file mode 100644
index 000000000..9e2a91ddb
Binary files /dev/null and b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/rtl-full-page-report-sm-linux.png differ
diff --git a/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/rtl-full-page-report-xl-linux.png b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/rtl-full-page-report-xl-linux.png
new file mode 100644
index 000000000..75636d7a3
Binary files /dev/null and b/frontend/test/playwright/visual-regression/pages/pages-single-result.spec.ts-snapshots/rtl-full-page-report-xl-linux.png differ
diff --git a/frontend/test/tapes/detail/images/da5cb478-c093-4d62-b721-cda18797e3fb_close.json5 b/frontend/test/tapes/detail/images/da5cb478-c093-4d62-b721-cda18797e3fb_close.json5
new file mode 100644
index 000000000..6354758ba
--- /dev/null
+++ b/frontend/test/tapes/detail/images/da5cb478-c093-4d62-b721-cda18797e3fb_close.json5
@@ -0,0 +1,108 @@
+{
+ meta: {
+ createdAt: '2023-03-15T07:25:42.282Z',
+ host: 'https://api.openverse.engineering',
+ resHumanReadable: true,
+ },
+ req: {
+ headers: {
+ connection: 'close',
+ },
+ url: '/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/',
+ method: 'GET',
+ body: '',
+ },
+ res: {
+ status: 200,
+ headers: {
+ date: [
+ 'Wed, 15 Mar 2023 07:25:43 GMT',
+ ],
+ 'content-type': [
+ 'application/json',
+ ],
+ 'transfer-encoding': [
+ 'chunked',
+ ],
+ connection: [
+ 'close',
+ ],
+ vary: [
+ 'Accept-Encoding, Accept, Authorization, Origin',
+ ],
+ allow: [
+ 'GET, HEAD, OPTIONS',
+ ],
+ 'x-frame-options': [
+ 'DENY',
+ ],
+ 'x-content-type-options': [
+ 'nosniff',
+ ],
+ 'referrer-policy': [
+ 'same-origin',
+ ],
+ 'cross-origin-opener-policy': [
+ 'same-origin',
+ ],
+ 'x-request-id': [
+ '2ffee7aaa399492a999741f817a8cce1',
+ ],
+ 'cache-control': [
+ 'max-age=14400',
+ ],
+ 'cf-cache-status': [
+ 'MISS',
+ ],
+ 'last-modified': [
+ 'Wed, 15 Mar 2023 07:25:43 GMT',
+ ],
+ 'server-timing': [
+ 'cf-q-config;dur=5.0000089686364e-06',
+ ],
+ 'strict-transport-security': [
+ 'max-age=15552000; includeSubDomains; preload',
+ ],
+ server: [
+ 'cloudflare',
+ ],
+ 'cf-ray': [
+ '7a8306250d0b0558-OTP',
+ ],
+ 'alt-svc': [
+ 'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
+ ],
+ },
+ body: {
+ id: 'da5cb478-c093-4d62-b721-cda18797e3fb',
+ title: 'bird',
+ indexed_on: '2020-04-27T19:49:30.552050Z',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/2385230430',
+ url: 'https://live.staticflickr.com/2129/2385230430_a699b25f12_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ ],
+ attribution: '"bird" by Chester Zoo is licensed under CC BY-ND 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nd/2.0/.',
+ fields_matched: [],
+ mature: false,
+ height: 768,
+ width: 1024,
+ thumbnail: 'http://localhost:49153/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/',
+ related_url: 'http://localhost:49153/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/related/',
+ },
+ },
+}
\ No newline at end of file
diff --git a/frontend/test/tapes/related/images/da5cb478-c093-4d62-b721-cda18797e3fb_close.json5 b/frontend/test/tapes/related/images/da5cb478-c093-4d62-b721-cda18797e3fb_close.json5
new file mode 100644
index 000000000..e180d56b5
--- /dev/null
+++ b/frontend/test/tapes/related/images/da5cb478-c093-4d62-b721-cda18797e3fb_close.json5
@@ -0,0 +1,411 @@
+{
+ meta: {
+ createdAt: '2023-03-15T07:25:43.127Z',
+ host: 'https://api.openverse.engineering',
+ resHumanReadable: true,
+ },
+ req: {
+ headers: {
+ connection: 'close',
+ },
+ url: '/v1/images/da5cb478-c093-4d62-b721-cda18797e3fb/related/',
+ method: 'GET',
+ body: '',
+ },
+ res: {
+ status: 200,
+ headers: {
+ date: [
+ 'Wed, 15 Mar 2023 07:25:44 GMT',
+ ],
+ 'content-type': [
+ 'application/json',
+ ],
+ 'transfer-encoding': [
+ 'chunked',
+ ],
+ connection: [
+ 'close',
+ ],
+ vary: [
+ 'Accept-Encoding, Accept, Authorization, Origin',
+ ],
+ allow: [
+ 'GET, HEAD, OPTIONS',
+ ],
+ 'x-frame-options': [
+ 'DENY',
+ ],
+ 'x-content-type-options': [
+ 'nosniff',
+ ],
+ 'referrer-policy': [
+ 'same-origin',
+ ],
+ 'cross-origin-opener-policy': [
+ 'same-origin',
+ ],
+ 'x-request-id': [
+ '39c69387a65a44f3b2eb0652d9fd4ee9',
+ ],
+ 'cache-control': [
+ 'max-age=14400',
+ ],
+ 'cf-cache-status': [
+ 'MISS',
+ ],
+ 'last-modified': [
+ 'Wed, 15 Mar 2023 07:25:44 GMT',
+ ],
+ 'server-timing': [
+ 'cf-q-config;dur=5.9999874792993e-06',
+ ],
+ 'strict-transport-security': [
+ 'max-age=15552000; includeSubDomains; preload',
+ ],
+ server: [
+ 'cloudflare',
+ ],
+ 'cf-ray': [
+ '7a83062a0e2f0557-OTP',
+ ],
+ 'alt-svc': [
+ 'h3=":443"; ma=86400, h3-29=":443"; ma=86400',
+ ],
+ },
+ body: {
+ result_count: 10000,
+ page_count: 1,
+ page_size: 10,
+ page: 1,
+ results: [
+ {
+ id: '07c7a1fc-7523-46ca-a66e-1c7bb441897d',
+ title: 'Bird',
+ indexed_on: '2020-04-27T19:49:30.552050+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/2385207562',
+ url: 'https://live.staticflickr.com/3265/2385207562_76fb5343ee_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/07c7a1fc-7523-46ca-a66e-1c7bb441897d/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/07c7a1fc-7523-46ca-a66e-1c7bb441897d/',
+ related_url: 'http://localhost:49153/v1/images/07c7a1fc-7523-46ca-a66e-1c7bb441897d/related/',
+ },
+ {
+ id: '4dc75e0a-1396-4272-9689-b787c91defbe',
+ title: 'Tsavo birds',
+ indexed_on: '2018-12-21T14:15:26.848497+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/8228653463',
+ url: 'https://live.staticflickr.com/8197/8228653463_32dd0e152a_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'birds',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/4dc75e0a-1396-4272-9689-b787c91defbe/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/4dc75e0a-1396-4272-9689-b787c91defbe/',
+ related_url: 'http://localhost:49153/v1/images/4dc75e0a-1396-4272-9689-b787c91defbe/related/',
+ },
+ {
+ id: '383f7450-4c7c-4cea-8eb3-6fb557e8865e',
+ title: 'Tropical bird',
+ indexed_on: '2020-04-24T19:32:30.485085+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/3616387063',
+ url: 'https://live.staticflickr.com/2461/3616387063_d45c16e71d_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'birds',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/383f7450-4c7c-4cea-8eb3-6fb557e8865e/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/383f7450-4c7c-4cea-8eb3-6fb557e8865e/',
+ related_url: 'http://localhost:49153/v1/images/383f7450-4c7c-4cea-8eb3-6fb557e8865e/related/',
+ },
+ {
+ id: '36660565-bee4-49d8-af0d-6617f8ee3a3f',
+ title: 'Handsome Bird',
+ indexed_on: '2020-04-14T00:56:29.041340+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/8230076742',
+ url: 'https://live.staticflickr.com/8344/8230076742_e89b4fdcaa_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'birds',
+ accuracy: null,
+ },
+ {
+ name: 'water',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/36660565-bee4-49d8-af0d-6617f8ee3a3f/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/36660565-bee4-49d8-af0d-6617f8ee3a3f/',
+ related_url: 'http://localhost:49153/v1/images/36660565-bee4-49d8-af0d-6617f8ee3a3f/related/',
+ },
+ {
+ id: '3803076b-59be-4ded-9ca3-ae20bd2302af',
+ title: 'New Tsavo Bird Safari',
+ indexed_on: '2020-04-25T22:15:26.596382+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/4077965910',
+ url: 'https://live.staticflickr.com/2581/4077965910_068efe3cac_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ {
+ name: 'tsavo',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/3803076b-59be-4ded-9ca3-ae20bd2302af/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/3803076b-59be-4ded-9ca3-ae20bd2302af/',
+ related_url: 'http://localhost:49153/v1/images/3803076b-59be-4ded-9ca3-ae20bd2302af/related/',
+ },
+ {
+ id: 'fe5fc267-32e2-48d0-b666-b2481c6cffd9',
+ title: 'sitting on the fence watching the world go by.',
+ indexed_on: '2020-04-23T23:16:34.033026+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/3266089245',
+ url: 'https://live.staticflickr.com/3428/3266089245_ab5dcc3a42_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ {
+ name: 'birds',
+ accuracy: null,
+ },
+ {
+ name: 'redbirds',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/fe5fc267-32e2-48d0-b666-b2481c6cffd9/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/fe5fc267-32e2-48d0-b666-b2481c6cffd9/',
+ related_url: 'http://localhost:49153/v1/images/fe5fc267-32e2-48d0-b666-b2481c6cffd9/related/',
+ },
+ {
+ id: 'fddbb941-c57d-48b2-b0ed-8050e5af7529',
+ title: 'Andean Condor',
+ indexed_on: '2020-04-25T13:30:33.142829+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/3923456500',
+ url: 'https://live.staticflickr.com/2531/3923456500_57906a6f64_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/fddbb941-c57d-48b2-b0ed-8050e5af7529/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/fddbb941-c57d-48b2-b0ed-8050e5af7529/',
+ related_url: 'http://localhost:49153/v1/images/fddbb941-c57d-48b2-b0ed-8050e5af7529/related/',
+ },
+ {
+ id: 'b8f1306c-acdb-429c-b5c2-84761a7ae507',
+ title: 'One leg is enough',
+ indexed_on: '2020-04-21T14:57:31.868340+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/4597702485',
+ url: 'https://live.staticflickr.com/1017/4597702485_b31f4da4eb_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'birds',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/b8f1306c-acdb-429c-b5c2-84761a7ae507/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/b8f1306c-acdb-429c-b5c2-84761a7ae507/',
+ related_url: 'http://localhost:49153/v1/images/b8f1306c-acdb-429c-b5c2-84761a7ae507/related/',
+ },
+ {
+ id: 'b16ab8b4-72ea-44b3-9b78-780e43fc197e',
+ title: 'Egret',
+ indexed_on: '2020-04-24T19:32:30.485085+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/3617100658',
+ url: 'https://live.staticflickr.com/2450/3617100658_360665c2ce_b.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/b16ab8b4-72ea-44b3-9b78-780e43fc197e/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/b16ab8b4-72ea-44b3-9b78-780e43fc197e/',
+ related_url: 'http://localhost:49153/v1/images/b16ab8b4-72ea-44b3-9b78-780e43fc197e/related/',
+ },
+ {
+ id: '33b12060-8eea-44e2-81fe-4d7045c313a0',
+ title: 'Victoria Crowned pigeon',
+ indexed_on: '2019-01-23T12:56:57.707259+00:00',
+ foreign_landing_url: 'https://www.flickr.com/photos/8488209@N07/3619796032',
+ url: 'https://live.staticflickr.com/3659/3619796032_c54475b14c.jpg',
+ creator: 'Chester Zoo',
+ creator_url: 'https://www.flickr.com/photos/8488209@N07',
+ license: 'by-nd',
+ license_version: '2.0',
+ license_url: 'https://creativecommons.org/licenses/by-nd/2.0/',
+ provider: 'flickr',
+ source: 'flickr',
+ category: null,
+ filesize: null,
+ filetype: null,
+ tags: [
+ {
+ name: 'bird',
+ accuracy: null,
+ },
+ ],
+ attribution: null,
+ fields_matched: [],
+ mature: false,
+ height: null,
+ width: null,
+ thumbnail: 'http://localhost:49153/v1/images/33b12060-8eea-44e2-81fe-4d7045c313a0/thumb/',
+ detail_url: 'http://localhost:49153/v1/images/33b12060-8eea-44e2-81fe-4d7045c313a0/',
+ related_url: 'http://localhost:49153/v1/images/33b12060-8eea-44e2-81fe-4d7045c313a0/related/',
+ },
+ ],
+ },
+ },
+}
\ No newline at end of file