apache / apache/answer-plugins

Storage S3: Avatar Thumbnails

Open
#96 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
131
Forks
75
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by tracing avatar uploads in the S3 storage plugin and compare them with local storage thumbnail generation, then verify that avatar_thumb objects are created and avatar URLs serve the requested dimensions rather than the full-size image.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.