Skip to content

Commit

Permalink
Make download image dimesnsions smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
kdid committed Jun 21, 2024
1 parent 14d405d commit 602d0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/handlers/get-file-set-download.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const getAxiosResponse = (url, config) => {
};

const IIIFImageRequest = async (doc) => {
const dimensions = "/full/max/0/default.jpg";
const dimensions = "/full/!3000,3000/0/default.jpg";
const iiifImageBaseUrl = doc._source.representative_image_url;
const url = `${iiifImageBaseUrl}${dimensions}`;
const { status, headers, data } = await getAxiosResponse(url, {
Expand Down

0 comments on commit 602d0f8

Please sign in to comment.