--- title: Profile image description: The Profile Image component displays images with fixed or responsive sizes. --- ## Overview `.env-profile-image` will always give you a centered image. Use modifiers for size:

`env-profile-image--xx-large`, `env-profile-image--x-large`, `env-profile-image--large`, `env-profile-image--medium`, `env-profile-image--small`, `env-profile-image--x-small`, `env-profile-image--xx-small` ### Fixed size Using the class directly on the IMG tag will make the image fixed size. If the containing element is smaller, the image will overflow. ```html
Example profile image xx-large
Example profile image x-large
Example profile image large
Example profile image medium
Example profile image small
Example profile image x-small
Example profile image xx-small
``` ### Responsive size Using a wrapper element will make the image resize if the element containing the image is smaller than the image. ```html
Example profile image
``` #### Status badge in responsive size Profile image A responsive size Profile image may have a [Status badge](/components/badge/#status-badge) inside. The text will be visually hidden and the badge will adjust its size relative to the image. ```html
Example profile image

Logged in

```