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

[Feature Request] Post Filter - ratio #3275

Open
KAGEYAM4 opened this issue Aug 22, 2024 · 1 comment
Open

[Feature Request] Post Filter - ratio #3275

KAGEYAM4 opened this issue Aug 22, 2024 · 1 comment
Assignees
Milestone

Comments

@KAGEYAM4
Copy link
Contributor

Is your feature request related to a problem? Please describe

Many sites don't provide option for getting items specifically in landscape or portrait.

Describe the solution you'd like

Post filter where we can describe the value in the form of ratio. For example, lets say the value of width is x and height is y. Users can use the folling syntax ->

  • ratio:1 -> x == y
  • ratio:>1.25 -> x/y > 1.25
  • ratio:<1.25 -> x/y < 1.25
  • ratio:x>y
  • ratio:x=y
  • ratio:x<y

Describe alternatives you've considered
Ask on respective booru to implement these.

@Bionus Bionus self-assigned this Aug 30, 2024
@Bionus
Copy link
Owner

Bionus commented Aug 30, 2024

Hello 👋

Makes sense! Surprised nobody asked for something similar before, given sorting by portrait/landscape seem like a pretty common thing.

  • ratio:x>y
  • ratio:x=y
  • ratio:x<y

Not sure I'd want to allow letters in there, especially when it could already be achieved with:

  • ratio:>1
  • ratio:1
  • ratio:<1

@Bionus Bionus added this to the 7.13.0 milestone Aug 30, 2024
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