-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render digital bookplate information when present #1074
Conversation
# @param [String] image_id | ||
# @param [Symbol] size | ||
# @return [String] | ||
def craft_image_url(druid, image_id, size) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update this to use IIIF sometime. If you visit the generated urls, it'll redirect you to the IIIF equivalents.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, probably. Just curious, would the correct thing be here (for the 400px long-edge) to construct the druid + image id + /full/!400,400/0/default.jpg
for this kind of thing? Or is there another url pattern we should be using?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 perfect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 good call. I've made that change.
baf375b
to
a4547c3
Compare
a4547c3
to
d57c6cf
Compare
Render digital bookplate information when present
Closes #1062
There will probably be some styling updates that we'll want to make. Since we don't have a live index we can't deploy this anywhere, but @jvine I'm more than happy to show you what it looks like in different screen resolutions, etc using the fixture data.
@aeschylus Please leave any comments w/ questions you have about these changes. We can also discuss over chat or in person next week depending on your availability.
Record View
Search Results