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

Add preview images to subject sets #3451

Closed
eatyourgreens opened this issue Aug 18, 2020 · 5 comments
Closed

Add preview images to subject sets #3451

eatyourgreens opened this issue Aug 18, 2020 · 5 comments

Comments

@eatyourgreens
Copy link
Contributor

For Engaging Crowds, we'd like to show a preview image for each subject set (similar to the project cards that are used to list projects.) Ouroboros used to serialise the locations of 5 preview subjects with each subject set/group. Would it be possible to serialise the first 5 subject locations from a subject set, with the set? Or maybe set up a cards route similar to the cards route for projects?

@camallen
Copy link
Contributor

Do you want this to be a curated set of image locations or just randomly selected?
We've got the metadata object on subject_sets

attributes :id, :display_name, :set_member_subjects_count, :metadata,
:created_at, :updated_at, :href
that could be used to store this information.

Alternatively we could look to do something more formal with the resource links like you mention, a subject_sets.cards relation.

@eatyourgreens
Copy link
Contributor Author

I was thinking the first few subjects, in order. If this is being used mainly to preview volumes for transcription workflows, then that would give us the title pages as a preview.

@eatyourgreens
Copy link
Contributor Author

For the time being, I think I’m going to make a second request for the first subject of each set, unless there’s a faster way to get the linked subject?

@eatyourgreens
Copy link
Contributor Author

@eatyourgreens eatyourgreens changed the title Serialise a few subject locations with a subject set Add preview images to subject sets Nov 20, 2020
@camallen
Copy link
Contributor

camallen commented Jul 7, 2022

closing this in favour of the approach outlined in #3451 (comment)

@camallen camallen closed this as completed Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants