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

Enable image area selection #3185

Open
1 of 3 tasks
alundgard opened this issue Oct 10, 2024 · 0 comments
Open
1 of 3 tasks

Enable image area selection #3185

alundgard opened this issue Oct 10, 2024 · 0 comments

Comments

@alundgard
Copy link

alundgard commented Oct 10, 2024

This is a summary issue. As part of the Fall 2024 Work Cycle, Stanford Libraries intends to implement the following work regarding image area selection (“cropping”). We intend for some of this work to be done within Spotlight.

Instead of “crop” we use the terminology “select image area” to capture the multiple ways widgets display images. The Item Embed widget does not “crop” in the traditional sense.

  • The Item Embed widget embeds an exhibit item in a viewer on a page. The embed viewer depends on the image source:
    • Images from Stanford Digital Repository are embedded in the sul-embed/Mirador viewer.
    • Images uploaded from Desktop are embedded in the OpenSeadragon viewer.
  • Both views afford zooming and panning interactions.
  • To enable “cropping” for these viewers, we will afford selecting an area of interest (zoom-level and focal point), so that creators can embed the viewer already-focused on a portion of the image.
  • For example, this will allow the creator to specify the zoomed-in view (image below, right), rather than the default full-image view (image below, left), and should display the zoomed-in view when the exhibit page loads. The full image will be preserved, and the usual panning/zooming interactions will still be afforded.
mirador-zoom-focal-point
  • For the non-Embed widgets (Item Row, Grid, Carousel, Slideshow) we will afford cropping functionality in the traditional sense, using the existing image cropping plugin.

Task List

Notes

The above issues draw from a few related issues:

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

No branches or pull requests

1 participant