8000 增加缩略图预览 by Secretlovez · Pull Request #217 · kingwrcy/moments · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

增加缩略图预览 #217

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

Merged
merged 4 commits into from
Nov 28, 2024
Merged

增加缩略图预览 #217

merged 4 commits into from
Nov 28, 2024

Conversation

Secretlovez
Copy link
Contributor

首页列表在展示多条记录时,如果存在多个高品质原图,在带宽有限时会影响加载速度。增加图片上传后,生成一张压缩图片,点击展开后加载原图,

@kingwrcy kingwrcy merged commit 070c7cc into kingwrcy:dev Nov 28, 2024
@dinphy
Copy link
Contributor
dinphy commented Nov 28, 2024

单图时,图片会溢出内容区域。
移动端点击缩略图预览时会先闪动,才能正常。

@Secretlovez
Copy link
Contributor Author

单图时,图片会溢出内容区域。 移动端点击缩略图预览时会先闪动,才能正常。

单图显示问题, 我稍晚改下。缩略图预览的问题应该是之前数据库里面的图片不存在缩略图,所以第一次拉取缩略图失败后再拉取原图的过程中,可能导致的闪烁,现在应该有两种处理方式:1.数据库增加一个字段,表示当前记录是否存在缩略图2.统一对过往图片进行压缩处理

@dinphy
Copy link
Contributor
dinphy commented Nov 29, 2024

单图时,图片会溢出内容区域。 移动端点击缩略图预览时会先闪动,才能正常。

单图显示问题, 我稍晚改下。缩略图预览的问题应该是之前数据库里面的图片不存在缩略图,所以第一次拉取缩略图失败后再拉取原图的过程中,可能导致的闪烁,现在应该有两种处理方式:1.数据库增加一个字段,表示当前记录是否存在缩略图2.统一对过往图片进行压缩处理

期待优化后的处理方式。

@jkjoy
Copy link
Contributor
jkjoy commented Dec 2, 2024

S3的压缩流程是什么

@Secretlovez
Copy link
Contributor Author

S3的压缩流程是什么

现在还没有添加S3的压缩,只添加了本地的上传接口的图片压缩功能

xuewenG pushed a commit to xuewenG/moments that referenced this pull request Dec 6, 2024
@xuewenG xuewenG added the feature New feature label Dec 9, 2024
@dianso
Copy link
Contributor
dianso commented Feb 13, 2025

S3的压缩流程是什么

现在还没有添加S3的压缩,只添加了本地的上传接口的图片压缩功能

目前有个问题,就是远程图片也加载缩略图,但是不存在。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0