Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

プロフィール画像をImagesに保存する #62

Closed
3 of 5 tasks
testusuke opened this issue Mar 26, 2024 · 1 comment · Fixed by #63
Closed
3 of 5 tasks

プロフィール画像をImagesに保存する #62

testusuke opened this issue Mar 26, 2024 · 1 comment · Fixed by #63

Comments

@testusuke
Copy link
Member

testusuke commented Mar 26, 2024

概要

Usersにプロフィール画像を直接埋め込むとフェッチにかかる時間が大幅に長くなるため、Imagesに保存してUsersにはurlとして保存する

タスク

  • Imagesの改良
  • UsersにImagesの外部キー挿入
  • URL経由で画像ファイルを配信できるように変更
  • ログイン時の非同期画像更新
  • 検証
@testusuke
Copy link
Member Author

エンドポイント /v1/images/[:id]/file を設けることで、HTMLのimgタグでもURL指定形式で表示できるようにする。

@testusuke testusuke linked a pull request Mar 27, 2024 that will close this issue
testusuke added a commit that referenced this issue Mar 27, 2024
…paretely-saving

Saving profile picture separately
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant