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

Update gallery view layout and switch libraries #793

Merged
merged 3 commits into from
Sep 11, 2020

Conversation

ghost
Copy link

@ghost ghost commented Sep 8, 2020

The gallery library we've used is old and doesn't really work right since it needs width/height of images to lay them out properly. Without dimensions it just looks bad. I've swapped the gallery for flexbin which is just a small scss snippet which does proper image block layout on the fly, which is presumably how it worked at some point.

I also switched out the lightbox library since it was old and deprecated at this point. fslightbox is functionally more or less the same as the old one, but a bit easier to use and with better mobile support.

@WithoutPants WithoutPants added the improvement Something needed tweaking. label Sep 11, 2020
@WithoutPants WithoutPants added this to the Version 0.4.0 milestone Sep 11, 2020
@WithoutPants
Copy link
Collaborator

Tests ok and looks good. Can you resolve the conflicts?

@ghost
Copy link
Author

ghost commented Sep 11, 2020

Tests ok and looks good. Can you resolve the conflicts?

Done

@WithoutPants WithoutPants merged commit 147f50d into stashapp:develop Sep 11, 2020
Tweeticoats pushed a commit to Tweeticoats/stash that referenced this pull request Feb 1, 2021
* Update gallery view layout and switch libraries
* Tweak gallery grid layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant