Code Monkey home page Code Monkey logo

Comments (5)

Kenshin avatar Kenshin commented on September 28, 2024

这个问题跟惰性加载无关,因为少数派使用了很严苛的图片规则,只能将它的图片转换为(你设置好的)第三方图床,然后在调用 PDF

你可以使用 #4306 解决,留意下插件的教程。

from simpread.

tangwells avatar tangwells commented on September 28, 2024

如果是希望导出为 pdf 的话,似乎使用图床插件无法解决。我无论是使用 base64方案还是使用cloudinary方案,最终的结果是
但是在 cloudinary 中确实已经上传了,如下图所示

from simpread.

Kenshin avatar Kenshin commented on September 28, 2024

emmm 确实如此...

应该是 .webp 判断错误造成的,出现问题的仅此 sspai 我测试了不同的网站均没问题 😂

临时解决方案

暂时没有好的办法,但你可以下图的方式,即:暂时改为 同步助手基础打印方案

image

注意:调用前确保这个页面的图片已经转换为 Cloudinary 图床,你也可以使用图床插件的下图方式

image

其它解决方案

你可以改为 Epub 方式、或者使用浏览器打印方案,或者导出到其它工具 e.g. Notion、Obsidian 然后在它们中导出 PDF 等等。

解决方案很多 😂 我先记录下这个问题,修复后(需要同步助手的配合,所以可能不会这么快发布)会通知你~

from simpread.

tangwells avatar tangwells commented on September 28, 2024

好的,十分感谢

from simpread.

Kenshin avatar Kenshin commented on September 28, 2024

小事情,能解决你的问题就好 👍


方便的话,请帮忙在 ChromeEdge 五星 + 好评,以便让更多人知道 😉 😁 👍

from simpread.

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.