---
title: "Changing the display size of images"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/customizing-your-views/changing-image-display-size/"
---

You can change the display size of an image within a View with the `.gv-image` CSS class. For example, if you want your image to be resized to 300 pixels in height and width, you'll specify the height and width like so:

```

```

```

```

 If you're not sure where to add custom CSS to your website, please see this article: [Adding custom CSS to your website](https://www.gravitykit.com/docs/gravityview/customizing-your-views/adding-custom-css-to-your-website/)

 If you need to resize an image to reduce the file size, the [GP Media Library](https://gravitywiz.com/documentation/gravity-forms-media-library/) plugin can help you do this.