Giter Site home page Giter Site logo

Comments (2)

styxlab avatar styxlab commented on May 17, 2024

When I visit https://blog.vokabula.com/ it looks like you have opted-out of the image optimization feature. As you can see on my demo page at https://next.jamify.org/, images on the index page are scaled down and converted to webp, e.g.:

https://next.jamify.org/_next/image?url=https%3A%2F%2Fstatic.gotsby.org%2Fv1%2Fassets%2Fimages%2Fwelcome-to-ghost.png&w=680&q=80

Note that the scaling is performed based on both content context (images are smaller on index page) and actual device size (which can be controlled in next.config.js).

The idea of this repo is to use full-size image urls (fetched from your headless CMS) and use the Next.js image optimizer to serve smaller versions where needed. This is much more flexible than Ghost's approach and should generally lead to more performant image serving.

from next-cms-ghost.

Buda9 avatar Buda9 commented on May 17, 2024

Got it. It looks like that in my case netlify-plugin-image-optim was preventing image optimisation. After I disable it, images got optimised. Thank you very much for prompt response. Have a good one! :)

from next-cms-ghost.

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.