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

Images are upscaled during the layout #22

Open
limenutt opened this issue Mar 12, 2014 · 4 comments
Open

Images are upscaled during the layout #22

limenutt opened this issue Mar 12, 2014 · 4 comments

Comments

@limenutt
Copy link

I'm loading images from the server and naturally the thumbnails are pretty small, much smaller then the screen size. I noticed that only dimension ratios is taken into account, not sizes of the images themselves, thus images are often getting upscaled which is undesirable. Is there any workaround?

@njdehoog
Copy link
Owner

As a quick workaround I would suggest using larger thumbnails, so that there is a bit of room for error. In terms of a more solid solution, I'm not sure what it would take to achieve that at this moment. This would require some changes to the logic of the layout algorithm. I would be happy to do some consulting for you if you'd like me to help you figure it out. Otherwise feel free to fork the project and contribute.

@graetzer
Copy link

If anybody else has this issue have a look at my fork https://github.com/graetzer/NHBalancedFlowLayout

@thelordy
Copy link

thelordy commented Feb 6, 2016

@graetzer How can i change the layout of your fork so i can have only 1 or 2 photo per row? Thanks.

@njdehoog
Copy link
Owner

njdehoog commented Feb 8, 2016

@thelordy Please create an issue in @graetzer's fork to discuss this issue.

Repository owner locked and limited conversation to collaborators Feb 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants