Giter Site home page Giter Site logo

Comments (7)

sal0max avatar sal0max commented on May 13, 2024

Thanks a lot for opening this issue. I didn't run into the problem, as I had page caching disabled. Good catch!

Seems like the problem is known: https://discourse.getgrav.org/t/plugins-and-caching/6795/9
However, there also seems to be no real solution to the issue. Just some hacky workarounds.

I will see what I can do to remedy this situation.

from grav-plugin-shortcode-gallery-plusplus.

sal0max avatar sal0max commented on May 13, 2024

Fixed in c743188.
An update should soon be available via the admin panel.

Please verify the fix and close this issue, if it worked.

from grav-plugin-shortcode-gallery-plusplus.

sal0max avatar sal0max commented on May 13, 2024

Did you find some time to test the updated version, @beamaria ? 😗

from grav-plugin-shortcode-gallery-plusplus.

beamaria avatar beamaria commented on May 13, 2024

Sorry, the issue is still there; if you don't disable the cache, the pictures are stacked...

from grav-plugin-shortcode-gallery-plusplus.

sal0max avatar sal0max commented on May 13, 2024

Mh, which version of the plugin do you use?
I can't replicate the issue.

from grav-plugin-shortcode-gallery-plusplus.

beamaria avatar beamaria commented on May 13, 2024

from grav-plugin-shortcode-gallery-plusplus.

sal0max avatar sal0max commented on May 13, 2024

Alright, that helps. :)

There are two Cache settings:

  1. Configuration / System / Caching / Caching
  2. Pages / <Page> / Advanced / Caching
    This sets cache_enable: true in a pages frontmatter and has to be set for every page.

If only the first is set enabled, there's no problem since after my fix.
However, if both caching options are enabled, I can replicate the behavior. Thanks for the clarification.


I couldn't find a way to overwrite the second configuration. However, I don't think that is a real issue.
The cache enabling is done actively by an user.

So.. as I can't find a way to remedy this scenario, and the behavior only happens if a user manually enables caching on a page (which probably is rare), I will close this issue for now.

If someone else has an idea, be welcome to comment here.

from grav-plugin-shortcode-gallery-plusplus.

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.