Closed evalexp closed 1 year ago
正常浏览是ok的,放大就会糊了。 如图: 图片看起来还算清晰对吧? 然后,点开后是这样的: 直接整个图就糊了。
附上我的Keep主题配置:
# --------------------------------------------------------------------------------------- # Your basic info # --------------------------------------------------------------------------------------- base_info: title: 青 叶 author: 青 叶 url: https://blog.evalexp.top/ # Logo image (You can use local image, image external link or don’t fill) logo_img: ./images/avatar.jpg # --------------------------------------------------------------------------------------- # Theme style settings # --------------------------------------------------------------------------------------- style: # Theme primary color primary_color: "#0066CC" # Avatar (You can use local image or image external link) avatar: ./images/avatar.jpg # Favicon (You can use local image or image external link) favicon: ./images/avatar.jpg # Article image align position, value: left | center article_img_align: left # Left side width left_side_width: 260px # Content area max width # content_max_width: 920px content_max_width: 1220px # Mouse hover hover: shadow: true # shadow effect when the mouse hover scale: false # scale effect when the mouse hover # First screen first_screen: enable: true background_img: /images/bg.svg # You can use local image or image external link description: 道可道,非常道;名可名,非常名。无名天地之始,有名万物之母。 # Scroll style settings scroll: progress_bar: enable: true percent: enable: true # --------------------------------------------------------------------------------------- # Social contact link # --------------------------------------------------------------------------------------- social_contact: enable: false links: github: # your GitHub URL weixin: # your WeChat QR-Code URL qq: # your QQ QR-Code URL weibo: # your WeiBo URL zhihu: # your ZhiHu URL twitter: # your twitter URL facebook: # your facebook URL email: # your email # --------------------------------------------------------------------------------------- # Navigation menu # --------------------------------------------------------------------------------------- menu: Home: / Archives: /archives Categories: /categories Tags: /tags # Links: /links # About: /about # Changelog: /changelog # ...... # --------------------------------------------------------------------------------------- # Home page article block display settings # --------------------------------------------------------------------------------------- home_article: category: enable: true # show category in home page article block limit: 3 # max number of categories shown in home page article block tag: enable: true # show tags in home page article block limit: 5 # max number of tags shown in home page article block # --------------------------------------------------------------------------------------- # Post page Settings # --------------------------------------------------------------------------------------- post: # Post word count # Dependencies: hexo-wordcount (npm install hexo-wordcount) # See: https://github.com/willin/hexo-wordcount word_count: enable: true wordcount: true # word count, one article min2read: true # time to read, one article # Author label author_label: enable: false auto: false # if true, show Lv1, Lv2, Lv3... , If false, show custom label # label array item can be one or more custom_label_list: ["Trainee", "Engineer", "Architect", "CTO", "BOSS"] # --------------------------------------------------------------------------------------- # Code copy # --------------------------------------------------------------------------------------- code_copy: enable: true style: mac # values: default | mac # --------------------------------------------------------------------------------------- # Table of Contents in the Sidebar # --------------------------------------------------------------------------------------- toc: enable: true # Automatically add list number to toc. number: true # If true, all level of TOC in a post will be displayed, rather than the activated part of it. expand_all: true # If true, open TOC every time when you enter the article page init_open: true # --------------------------------------------------------------------------------------- # Post copyright info # --------------------------------------------------------------------------------------- copyright_info: enable: true # --------------------------------------------------------------------------------------- # Website count # --------------------------------------------------------------------------------------- website_count: # busuanzi # See: http://ibruce.info/2015/04/04/busuanzi/ busuanzi_count: enable: false site_uv: false site_pv: false page_pv: false # --------------------------------------------------------------------------------------- # Local Search # Dependencies: hexo-generator-searchdb # See: https://github.com/theme-next/hexo-generator-searchdb # --------------------------------------------------------------------------------------- local_search: enable: true preload: true # Preload the search data when the page loads # --------------------------------------------------------------------------------------- # Comment plugin # --------------------------------------------------------------------------------------- comment: enable: false use: valine # values: valine | gitalk | twikoo # Valine # See: https://github.com/xCss/Valine valine: appid: # your leancloud application appid appkey: # your leancloud application appkey placeholder: # your placeholder # Gitalk # See: https://github.com/gitalk/gitalk gitalk: github_id: # GitHub repo owner repository: # Repository name to store issues client_id: # GitHub Application Client ID client_secret: # GitHub Application Client Secret # Twikoo # See: https://github.com/imaegoo/twikoo twikoo: env_id: # Tencent Cloud environment id region: # environment region. If select Guangzhou, fill in "ap-guangzhou". # --------------------------------------------------------------------------------------- # RSS # Dependencies: hexo-generator-feed # See: https://github.com/hexojs/hexo-generator-feed # --------------------------------------------------------------------------------------- rss: enable: false # --------------------------------------------------------------------------------------- # Lazyload image # --------------------------------------------------------------------------------------- lazyload: enable: true # --------------------------------------------------------------------------------------- # CDN # --------------------------------------------------------------------------------------- cdn: enable: false # --------------------------------------------------------------------------------------- # PJAX # --------------------------------------------------------------------------------------- pjax: enable: true # --------------------------------------------------------------------------------------- # Footer settings # --------------------------------------------------------------------------------------- footer: since: 2020 # the starting year of your website, Can be null icp: 渝ICP备2021012525号 upyun: # url # --------------------------------------------------------------------------------------- # Keep version (Please don't modify) # --------------------------------------------------------------------------------------- version: 3.4.5
理论来说应该只是改了一下ContentWidth,可能是这个造成的影响。
另外比较建议引入fancybox。
后续版本会优化,感谢反馈
图片放大功能已在 v3.4.9 实现,请使用最新版本。
v3.4.9
正常浏览是ok的,放大就会糊了。 如图:
图片看起来还算清晰对吧?
然后,点开后是这样的:
直接整个图就糊了。
附上我的Keep主题配置:
理论来说应该只是改了一下ContentWidth,可能是这个造成的影响。
另外比较建议引入fancybox。