-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the solution you'd like
Create an endpoint which takes a file path, width and height and returns a file in that dimension.
The URL should look like
/api/v1/image/path-to-file?h=100&w=100
Approach
- Take the file path, create the hash with height and width
- Check if the path (
/path-to-file#hash) exists on CDN - If it exists, do a 301 redirect
- If doesnt, generate the image file using
ffmpegand upload it to CDN, and return the file.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request