Skip to content

Commit

Permalink
Merge pull request #4 from middlicomp/bug/extreme-aspect-ratio-thumbn…
Browse files Browse the repository at this point in the history
…ails

Bug/extreme aspect ratio thumbnails
  • Loading branch information
mnyrop authored Jan 25, 2023
2 parents 8a811b2 + 6d0dc55 commit a91d2e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/aperitiiif/asset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def canvas_url
end

def thumbnail_url
@thumbnail_url ||= "#{@config.image_api_url}/#{id}/full/250,/0/default.jpg"
@thumbnail_url ||= "#{@config.image_api_url}/#{id}/square/250,/0/default.jpg"
end

def annotation_url
Expand Down
2 changes: 1 addition & 1 deletion lib/aperitiiif/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Aperitiiif
VERSION = '0.1.1'
VERSION = '0.1.2'
end

0 comments on commit a91d2e3

Please sign in to comment.