apache / apache/answer-plugins

Storage S3: Avatar Thumbnails

オープン
#96 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。