Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment meta size should return file size instead of duplicate dimensions #12595

Open
trwnh opened this issue Dec 10, 2019 · 0 comments
Open
Labels
suggestion Feature suggestion

Comments

@trwnh
Copy link
Member

trwnh commented Dec 10, 2019

Pitch

Make Attachment#meta[original,small][size] return file size instead of {width}x{height}.

Motivation

Dimension data is already available with meta[original,small]width and meta[original,small][height]. Also there is no way to know how much data an attachment will consume before downloading, which is not good for users on capped data plans.

@vmstan vmstan added the suggestion Feature suggestion label Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

2 participants