kir-dev / kir-dev/warp-drive

Introduce standard image sizes

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Introduce three standard image sizes. If a standard size is bigger than the image skip it.
- `s`: small 300 px
- `m`: medium 700 px
- `l`: large 1000px

These sizes can be referenced by a special url format:
- `/97bdbe337edb25031be6ba9fd499ec19cf3ccaad/s`
- `/97bdbe337edb25031be6ba9fd499ec19cf3ccaad/m`
- `/97bdbe337edb25031be6ba9fd499ec19cf3ccaad/l`

Generate these pre-sized images on upload (use `go routines` to speed things up). The #15 issue is a must before this can be implemented.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing prerequisite issue #15, then trace the image upload flow described here. Confirm that uploads produce 300 px, 700 px, and 1000 px variants when applicable, that larger requested sizes are skipped, and that the three special URL forms retrieve the corresponding images.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.