Skip to content
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

Merged
merged 5 commits into from
Nov 4, 2015
Merged

Conversation

jkeck
Copy link
Contributor

@jkeck jkeck commented Oct 28, 2015

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

bookplate-record

Search Results

bookplate-search

# @param [String] image_id
# @param [Symbol] size
# @return [String]
def craft_image_url(druid, image_id, size)
Copy link
Member

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.

Copy link
Contributor Author

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 perfect.

Copy link
Contributor Author

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.

aeschylus added a commit that referenced this pull request Nov 4, 2015
Render digital bookplate information when present
@aeschylus aeschylus merged commit a7216a1 into master Nov 4, 2015
@jkeck jkeck deleted the 1062-bookplates branch November 4, 2015 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bookplates
3 participants