Module: GeoblacklightAdmin::ImageService::Iiif
- Defined in:
- app/services/geoblacklight_admin/image_service/iiif.rb
Class Method Summary collapse
-
.image_url(document, _size) ⇒ String
Formats and returns a thumbnail url from an International Image Interoperability Framework endpoint.
Class Method Details
.image_url(document, _size) ⇒ String
Formats and returns a thumbnail url from an International Image Interoperability Framework endpoint.
12 13 14 |
# File 'app/services/geoblacklight_admin/image_service/iiif.rb', line 12 def self.image_url(document, _size) "#{document.viewer_endpoint.gsub("info.json", "")}full/max/0/default.jpg" end |