# Change size of images in the listing category

**URL:** <https://community.hivepress.io/t/change-size-of-images-in-the-listing-category/7548>\
**Category:** HivePress\
**Created:** [September 18, 2023, 8:53pm UTC](https://community.hivepress.io/t/change-size-of-images-in-the-listing-category/7548 "2023-09-18T20:53:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![aqmiami7](https://community.hivepress.io/user_avatar/community.hivepress.io/aqmiami7/32/2069_2.png) [@aqmiami7](https://community.hivepress.io/u/aqmiami7)\
**Post date:** [September 19, 2023, 12:09am UTC](https://community.hivepress.io/t/change-size-of-images-in-the-listing-category/7548/2 "2023-09-19T00:09:54Z")

</div>

use this code snippet (Usa este code snippet):

```auto
add_filter(
	'hivetheme/v1/image_sizes',
	function( $image_sizes ) {
		$image_sizes['portrait_small']['height'] = 400;
		$image_sizes['portrait_small']['width'] = 400;

		return $image_sizes;
	}
);

```

---

_[View the full topic](https://community.hivepress.io/t/change-size-of-images-in-the-listing-category/7548)._
