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

any way to increase the number of images shown in final screen? #25

Open
ratman-codes opened this issue Jan 16, 2024 · 2 comments
Open

Comments

@ratman-codes
Copy link

ratman-codes commented Jan 16, 2024

right now we can only display up to 10 images. id like to increase that, is it possible?

to clarify, I wuold like to change the default # of images from 3 to another number (say 10) and I would also like the dropdown which currently lets you select from 0-10 to have a higher limit.

@tetsubi24
Copy link

You can do both of those by editing the main.js file. Lines 113 and 471 handle the default number of displayed images, while line 109 handles how many options you have in the dropdown menu.

Of note is that, by default, the formula in line 109 will continuously add options (by 1) until it reaches the maximum amount (10). If after increasing the maximum you feel like there's a bit too many options, like I did, you can make them only show up in multiples of a number by changing the "i++" in that same line to "i+= x". With "x" being number you want the multiples of, in this case.

@ratman-codes
Copy link
Author

ratman-codes commented Jul 20, 2024

@tetsubi24 thanks, this worked perfectly. TYVM! And thanks for the tip of changing to i+=x.

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