Git Product home page Git Product logo

Comments (1)

kamil4 avatar kamil4 commented on August 15, 2024

Note: I transferred your question to the Lychee-front repository, since the question is about the behavior of the front end.

If I understood you correctly, you are asking about the display size of the thumbnails. As you may be aware, Lychee has three layouts of photos that you can choose from in the Settings:

  • The default layout, Justified, uses thumbnail height of 320px by default, but that height can be automatically scaled up and down by a factor of 2 in order to justify the thumbnails to both margins, so the thumbnail height can vary between 160px and 640px.
  • There is also the Square layout that uses square thumbnails, 200x200px. So these will generally be somewhat smaller than Justified. This layout is always used for the cover photos of albums.
  • Finally, there is the Unjustified layout, which uses a fixed thumbnail height of 240px. Again, these will on average be smaller than Justified, at least for wider browser windows (there may not be much difference on mobile). However, the height used with this layout is user-adjustable. Here's a custom CSS excerpt you can enter in the text field at the bottom of the Settings screen that will shrink the thumbnails by half:
.unjustified-layout > .photo {
        max-height: 120px;
}

I hope this helps!

from lychee-front.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.