Skip to content

Commit

Permalink
Merge pull request #319 from City-of-Helsinki/HEL-347-all-photos-from…
Browse files Browse the repository at this point in the history
…-finna

fix: change the full res image from original tiff to large image
  • Loading branch information
jannetalvio authored Feb 29, 2024
2 parents 3dc27dc + 9e6e4e4 commit 97c7321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hkm/finna.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def get_image_url(self, record_id):
return f"https://finna.fi/Cover/Show?id={record_id}&fullres=1&index=0"

def get_full_res_image_url(self, record):
return self.get_original_image_url(record)
return self.get_labeled_image_url(record, "large")

def get_original_image_url(self, record):
# attempt to find high resolution original photo url
Expand Down

0 comments on commit 97c7321

Please sign in to comment.