# Sorting/searching by picture size

**URL:** <https://forum.inaturalist.org/t/sorting-searching-by-picture-size/28383>\
**Category:** General\
**Created:** [December 11, 2021, 12:24am UTC](https://forum.inaturalist.org/t/sorting-searching-by-picture-size/28383 "2021-12-11T00:24:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ichneumon](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/ichneumon/32/5812_2.png) [@Ichneumon](https://forum.inaturalist.org/u/Ichneumon)\
**Post date:** [December 11, 2021, 12:24am UTC](https://forum.inaturalist.org/t/sorting-searching-by-picture-size/28383/1 "2021-12-11T00:24:56Z")

</div>

I don’t really think this is a feature request, per se, and maybe this has been asked before, but I came up blank. I’d like to search by photo size. My specific current issue is probably a corner case, and is not really worth mentioning, but in trying to extract data from photos (I have done petal numbers), it would be very useful to set a threshold or search photos above a certain size.

Thanks!  
Eric

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [December 11, 2021, 1:20am UTC](https://forum.inaturalist.org/t/sorting-searching-by-picture-size/28383/2 "2021-12-11T01:20:08Z")

</div>

the [AWS Open Data set](https://registry.opendata.aws/inaturalist-open-data/) includes a “photos” metadata file that you could use to search for photos included in that set as of the date of the last version of the metadata file.

that file includes height and width fields. it’s been a while since i looked, but i _think_ those fields would reflect the original height and width of uploaded photos. it should be noted that if the size of an uploaded photo exceeds a fixed limit, iNaturalist will reduce the size of uploaded photos to 2048px along the maximum dimension (height or width). so even though it stores “original”, large, medium, small, thumb, and “square” versions of each photo, the “original” version will have a maximum dimension (height or width) of up to 2048px. large, medium, small, and thumb, will have maximum dimension of up to 1024px, 500px, 240px, and 100px, respectively. square will be resized such that its minimum dimension is 75px, and then it will be cropped to a 75px square.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/2X/7/7831452cf7f0d653ff1ffd34176334b7ef1b6a17.png) [@system](https://forum.inaturalist.org/u/system)\
**Post date:** [February 9, 2022, 1:21am UTC](https://forum.inaturalist.org/t/sorting-searching-by-picture-size/28383/3 "2022-02-09T01:21:05Z")

</div>

Closed on February 9, 2022, 1:21am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
