# Giphy GIFs: Any way to filter search results by file size?

**URL:** https://meta.discourse.org/t/giphy-gifs-any-way-to-filter-search-results-by-file-size/386633
**Category:** Support
**Tags:** gifs
**Created:** [24 באוקטובר,‏ 2025,‏ 1:06pm UTC](https://meta.discourse.org/t/giphy-gifs-any-way-to-filter-search-results-by-file-size/386633 "2025-10-24T13:06:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [27 באוקטובר,‏ 2025,‏ 3:39pm UTC](https://meta.discourse.org/t/giphy-gifs-any-way-to-filter-search-results-by-file-size/386633/3 "2025-10-27T15:39:18Z")

</div>

Thanks for the suggestion! I’ve just added a setting, `giphy_size_variant` that will let you use giphy’s downsized variants… their API provides 5MB, 2MB or 200kB versions (more details from their end on [Docs | GIPHY Developers](https://developers.giphy.com/docs/api/#best-practices))

[https://github.com/discourse/discourse-gifs/pull/102](https://github.com/discourse/discourse-gifs/pull/102)

This doesn’t filter the gifs returned based on Discourse’s image size setting, which can be a bit complicated (have to process every result, could end up with 0 results, complicates loading more on scroll, etc) — but will make it easier to have some control over the filesize.

---

_[View the full topic](https://meta.discourse.org/t/giphy-gifs-any-way-to-filter-search-results-by-file-size/386633)._
