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

/api/new should return image type (and animated property?) #29

Open
mikewnuk opened this issue Jun 20, 2014 · 1 comment
Open

/api/new should return image type (and animated property?) #29

mikewnuk opened this issue Jun 20, 2014 · 1 comment
Assignees
Labels

Comments

@mikewnuk
Copy link
Contributor

When uploading inline images, I'd like to get the format passed back so I can update the markup properly. Right now, the filename is getting returned and I can use the extension to determine if a file is a gif or not, however that's not that great.

Gifs aren't always animated, either. Maybe /api/new should return whether an image is animate or not, too.

@csinchok
Copy link
Contributor

Good point. I thought that I had an "animated" property in the API. I
will check on this.

Chris Sinchok
Developer
730 N. Franklin St. #700
Chicago IL 60654
the Onion | "America's Finest News Source"

On Fri, Jun 20, 2014 at 11:44 AM, Michael Wnuk [email protected]
wrote:

When uploading inline images, I'd like to get the format passed back so I
can update the markup properly. Right now, the filename is getting returned
and I can use the extension to determine if a file is a gif or not, however
that's not that great.

Gifs aren't always animated, either. Maybe /api/new should return whether
an image is animate or not, too.


Reply to this email directly or view it on GitHub
#29.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants