apache / apache/answer-plugins

Storage S3: Avatar Thumbnails

未关闭
#96 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Go
星标
131
派生
75
PR 合并指标
30 天内没有已合并 PR

描述

I'm trying the S3 storage plugin using digital ocean spaces and noticed when I upload an avatar image there doesn't seem to be any corresponding files generated within `uploads/avatar_thumb` directory. When viewing an avatar the full size image is used instead of the corresponding dimension(s) in query string of the requested image url. Is this expected? From what I can see without using the s3 storage plugin upload avatar have corresponding thumbnails.

See pink highlights in this screenshot:

Screenshot 2024-03-30 at 6 52 14 PM

Here's also a screenshot of directory structure in digital ocean showing `avatar_thumb` doesn't exist:

Screenshot 2024-03-30 at 7 02 35 PM

贡献指南

这个仓库没有索引到贡献指南

调研方向

未指定文件、测试或入口点。首先跟踪 S3 存储插件中的头像上传,并将其与本地存储的缩略图生成进行比较,然后验证是否创建了 avatar_thumb 对象,以及头像 URL 提供的是请求的尺寸,而不是全尺寸图像。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
backend, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。