Skip to content

Commit

Permalink
Update thumbnailUrl to prevent upscaling
Browse files Browse the repository at this point in the history
  • Loading branch information
seakayone committed May 23, 2024
1 parent b54ab72 commit 097784f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ export class UploadFileService {
let baseUrl = `${this._acs.dspIiifConfig.iiifUrl}/${shortcode}/${res.internalFilename}`;
return {
internalFilename: res.internalFilename,
thumbnailUrl: `${baseUrl}/full/256,/0/default.jpg`,
thumbnailUrl: `${baseUrl}/full/^256,/0/default.jpg`,
baseUrl: baseUrl,
};
}),
);
}
}

0 comments on commit 097784f

Please sign in to comment.