FeatureFuel
19

Sane Image Size - Auto Reduction

Source: directus/directus#22622 · opened by @NilsBaumgartner1994
Summary

Automatically scale down large images or files to a sane size.
Idea based on hook:

Basic Example

_No response_

Motivation

Sometimes users dont look what large files or images they upload. would be nice not only to transform the image, but to reduce the disk space in first place.

Detailed Design

Use sharp to reduce the image size to a specific width and height or megabyte size.

Requirements List

Must Have:

• Variable to enable auto resize

Should Have:

• Optinal parameters to set them up
• Enabled by default

Could Have:

• Linking to existing transformator

Won't Have:
Drawbacks

Alternatives

Keeping the hook solution, which might break in the future

Adoption Strategy

No breaking changes.

Unresolved Questions

_No response_

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests