Giter VIP home page Giter VIP logo

Comments (6)

adityatelange avatar adityatelange commented on June 1, 2024

@taptiger images stored as webp are of course rendering.

for local images refer

https://github.com/adityatelange/hugo-PaperMod/tree/754e47fc1cf92238bc6a53ecfa554f6dac959d7a/content/posts/papermod/papermod-features

and

https://raw.githubusercontent.com/adityatelange/hugo-PaperMod/754e47fc1cf92238bc6a53ecfa554f6dac959d7a/content/posts/papermod/papermod-features/index.md

from hugo-papermod.

taptiger avatar taptiger commented on June 1, 2024

Correction: images (webp and local jpgs) are not rendering on Safari browsers. Images render fine on Chrome and Firefox.

from hugo-papermod.

adityatelange avatar adityatelange commented on June 1, 2024

Correction: images (webp and local jpgs) are not rendering on Safari browsers. Images render fine on Chrome and Firefox.

@taptiger Yeah so it is Safari's issue and not theme specific

from hugo-papermod.

adityatelange avatar adityatelange commented on June 1, 2024

@taptiger can you share source of website?

I still doubt about local jpeg images.

also are you telling about cover image or using with markdown (although you have mentioned it in 1st comment)

from hugo-papermod.

taptiger avatar taptiger commented on June 1, 2024

@adityatelange I am talking about inline markdown, using a .jpg file.

Here's my example

In the build logs I can see "Processed images | 0" after running hugo --gc --minify which is why I originally asked about whether there is a step I should be taking beyond just dropping an image file into the source tree.

from hugo-papermod.

adityatelange avatar adityatelange commented on June 1, 2024

@taptiger You are not doing it in correct way.

The post bundle for local images to work a/c to hugo is different,
refer

https://github.com/adityatelange/hugo-PaperMod/tree/754e47fc1cf92238bc6a53ecfa554f6dac959d7a/content/posts/papermod/papermod-features

and

https://raw.githubusercontent.com/adityatelange/hugo-PaperMod/754e47fc1cf92238bc6a53ecfa554f6dac959d7a/content/posts/papermod/papermod-features/index.md

properly

from hugo-papermod.

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.