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

Format for multiple layouts #39

Open
amyisard opened this issue Oct 2, 2024 · 2 comments
Open

Format for multiple layouts #39

amyisard opened this issue Oct 2, 2024 · 2 comments
Assignees

Comments

@amyisard
Copy link
Contributor

amyisard commented Oct 2, 2024

Hi,

We have a project where a guestbook has been digitized, and each individual entry has been saved as an image snippet, with various associated metadata including its date and page number. We're using Vikus Viewer to display the snippets, and the year view looks great, but I would also like to try a layout where the snippets are ordered by page number instead of year. I see that it's possible to have multiple layouts but I'm not sure what the format of the pages.csv file should be. I created a second layout with the title Pages associated with pages.csv and tried using two columns containing id and _page for each snippet but that didn't work. There are now two tabs at the side with "Time" and "Pages" but the "Pages" view doesn't show anything. Could you let me know if it's possible to have this sort of second layout and if so how?

Thanks!

Amy

@cpietsch
Copy link
Owner

cpietsch commented Oct 3, 2024

Hey Amy,

this is totally doable. I have implemented such a functionality for a custom instance by introducing a "groupKey" that does not have to be the column "year".
I will merge the updates I made for the Kunsthaus Viewer into the main repo here - until then you could check out the implementation and / or maybe make a pull request.

@cpietsch cpietsch self-assigned this Oct 3, 2024
@amyisard
Copy link
Contributor Author

amyisard commented Oct 3, 2024

Hi,

That's great! I'll have a look at the code, and let me know when you've merged the updates into the main repo.

Thanks,

Amy

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

2 participants