In the case of very large images, the API seems to be reporting incorrect images for alternate sizes.
For instance take this post linking to a 16K image: https://www.reddit.com/r/place/comments/txl562/i_created_a_16k_version_of_the_final_canvas
If you go through the API, there are multiple thumbnail resolutions returned for that post. Here's the JSON for the 1080p version of the 16K image:
height: 1080,
url: https://preview.redd.it/af17h3jxjwr81.jpg?width=1080&crop=smart&auto=webp&s=69811f24e92eae8edffa1d400843aaec3d9b8b13,
width: 1080
Despite saying it's 1080p, that image is actually 16K. This applies to even the image it claims is 108x108.
(Note that the thumbnails are fine for posts with normal sized images, I assume the 16K image causes the server side resizer to time out or something?)
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/redditdev/c...