> For the complete documentation index, see [llms.txt](https://mostafaznv.gitbook.io/larupload/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mostafaznv.gitbook.io/larupload/advanced-usage/configuration/cover-style.md).

# Cover Style

The `cover-style` field allows you to configure the style of the automatically generated cover image.

Here is an example configuration:

{% code title="config/larupload.php" %}

```php
<?php

return [
    'cover-style' => ImageStyle::make(
        name: 'cover',
        width: 500,
        height: 500,
        mode: LaruploadMediaStyle::CROP
    )
];
```

{% endcode %}

This configuration specifies that the cover image should have a width and height of 500 pixels. The `LaruploadMediaStyle::CROP` constant indicates that the image should be center cropped to fit the specified dimensions.
