IiifImageMediaSource::getLocalThumbnailUri() has organization-specific URL

Created on 22 October 2024, about 2 months ago

Problem/Motivation

 protected function getLocalThumbnailUri($id) {
    // If there is no remote thumbnail, there's nothing for us to fetch here.
    // $remote_thumbnail_url = $resource->getThumbnailUrl();
    $remote_thumbnail_url = "https://media.nga.gov/iiif/" . $id . "/full/!300,300/0/default.jpg";
    if (!$remote_thumbnail_url) {
      return NULL;
    }

Proposed resolution

Remove the organization-specific url; replace with a generic IIIF image. Is there one on the IIIF organizational servers?

πŸ› Bug report
Status

Active

Version

0.0

Component

Media Source

Created by

πŸ‡ΊπŸ‡ΈUnited States srjosh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024