Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Both layouts are based on finding optimal photo row breaks using a variant of Knuth & Plass.
Flex
Flex is the simpler layout of the two where all rows are approximately the same height. Think of it as Album with smarter row breaks.
Mostly noticable with panoramas and at the end of the collection (it will try to avoid photos hanging off the end). It will also add locations inline if photos have GPS coordinates and reverse geocoding is enabled.
Highlights
Highlights is a more experimental variant on Flex, but with a bit of a twist! Instead of a more or less content row height, it will try to vary it based on the "sameness" of the photos. Best used with bigger photo sizes (pictured button).
The idea is to make travel photo collections more skimmable by shrinking similar and repeating photos.
Similarity is based on the AI image embeddings, so photos close in "meaning" will be considered as semantically similar. Seems to work quite well, but you need to have AI enabled and photos scanned for it to work as expected.
TODO