Coder Social home page Coder Social logo

image size about novagallery HOT 2 CLOSED

novafacile avatar novafacile commented on May 24, 2024
image size

from novagallery.

Comments (2)

patience4711 avatar patience4711 commented on May 24, 2024 1

Thanks David but that is all to cryptic for me. Before i figure out at which chord to pull I wrote some even simpler php that does the job the way i want it. Based on the latest bootstrap.min.cs
Good luck and again thanks for sharing your good work.

from novagallery.

david-novafacile avatar david-novafacile commented on May 24, 2024

If you want to use smaller thumbnails and show more in a row, you have to build your own theme. You can copy one of the both and change the grid in /yourthemename/album.php how you like.

For example in basic theme: https://github.com/novafacile/novagallery/blob/main/src/nova-themes/novagallery/album.php

The layout is based on Bootstrap CSS Version 4: https://getbootstrap.com/docs/4.6/getting-started/introduction/

Don't forget to change theme name in nova-config/site.php

The image streching is set here:

@media (hover: hover) and (pointer: fine) {
content .element {
transition: transform .4s;
}
content .element:hover {
transform: scale(1.02);
}
}

from novagallery.

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.