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

Gallery: Switch Packery to MagicGrid #1296

Merged

Conversation

StandingPadAnimations
Copy link
Contributor

@StandingPadAnimations StandingPadAnimations commented Mar 7, 2024

This switches the gallery shortcode to use MagicGrid instead of Packery. The main benefit is size, with MagicGrid being 2.7k, whereas Packery is 32k. The results are mostly similar minus a few differences in image position.

This switches the Gallery shortcode to use MagicGrid instead of Packery.
The main benefit is size (2.7k as opposed to 32k), and the results are
mostly similar minus a few differences in image position.
@StandingPadAnimations StandingPadAnimations changed the title Switch Packery for MagicGrid Gallery: Switch Packery to MagicGrid Mar 7, 2024
@nunocoracao
Copy link
Owner

Hello @StandingPadAnimations not sure about this one. Changing a dependency like this can be a headache to maintain. I do like the decrease in size and also the fact that it seems more recent when compared to packery. I'll need time to pull your branch and see the differences.

@nunocoracao nunocoracao merged commit 08b14e9 into nunocoracao:dev Mar 9, 2024
2 checks passed
@nunocoracao
Copy link
Owner

Reverting @StandingPadAnimations I don't like the final effect

Packery
Screenshot 2024-03-09 at 14 29 02

Magic-grid
Screenshot 2024-03-09 at 14 29 17

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.

2 participants