-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
上传的图片过大,导致加载太慢 #5196
Comments
非常感谢 |
/ping @halo-dev/sig-halo |
当前 WebP 这个插件仅支持文章内容的图片链接替换。这个问题还是建议在本地存储策略支持生成不同尺寸的图片,相关 issue:#2387 支持生成不同尺寸的图片之后,还可以在主题实现 Responsive images,可以由调用方决定尺寸并动态生成。 |
@halo-dev/sig-halo 这对于页面访问性能会有较大帮助,可以重视一下。 |
期待这个特性尽快上线,mac在高分辨率屏幕上截一张图好几兆,非常占用储存空间和带宽 |
暂时可以考虑使用 https://www.halo.run/store/apps/app-mhQIV 插件,利用 Cloudinary 服务可以实现无入侵的压缩图片,还支持响应式图片和转换为 webp。使用之后会有明显的改善。 |
感谢回复,我研究一下 |
Your current Halo version
laste
Describe this feature
2核2g3m服务器对于手机拍摄的相片上传到halo的图库,打开速度很慢。
建议优化一下
https://blog.zhuozhm.fun/photos
1.保证图片的画质的前提下,对于上传的图片提示是否需要进行压缩,以及可以手动调整压缩的强度。
--------同样的两张图片,一张7m多,压缩后剩下2m多
Additional information
No response
The text was updated successfully, but these errors were encountered: