Donmai

File has large

Posted under General

Hello again, one question about API.
In the JSON response after a GET to post, i see a property called has_large, I guess that indicates whether the file is large. My question is what is the resolution or minimum file size to consider a file as large?

Thanks.

has_large refers to whether the post has a scaled down 850px sample. If it does the 850px sample can be found at large_file_url. A post has an 850px sample if the full size is 851px or wider. Exceptions: ugoira always have samples regardless of their width (this is actually a webm conversion). Animated gifs and pngs never have samples.

Toks said:

has_large refers to whether the post has a scaled down 850px sample. If it does the 850px sample can be found at large_file_url. A post has an 850px sample if the full size is 851px or wider. Exceptions: ugoira always have samples regardless of their width (this is actually a webm conversion). Animated gifs and pngs never have samples.

Thanks for the help.
By the way, I do not know if this question is in this section but i have a problem accessing the votes of the posts in the api.
When I make a get me /posts/id/votes.json the server responds with Not found code (404). This feature is disabled or not working?
Thanks again.

1