PHPackages                             alberto-bottarini/nova-image-with-thumbs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alberto-bottarini/nova-image-with-thumbs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alberto-bottarini/nova-image-with-thumbs
========================================

A Laravel Nova field.

v1.1.1(5y ago)11.1k1[1 issues](https://github.com/alberto-bottarini/nova-image-with-thumbs/issues)MITPHPPHP &gt;=7.1.0

Since Jun 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alberto-bottarini/nova-image-with-thumbs)[ Packagist](https://packagist.org/packages/alberto-bottarini/nova-image-with-thumbs)[ RSS](/packages/alberto-bottarini-nova-image-with-thumbs/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Laravel Nova Image With Thumbs Field
====================================

[](#laravel-nova-image-with-thumbs-field)

This custom fields add thumbnail ability to standard Image Field in Laravel Nova.

Take a look at this example:

```
NovaImageWithThumbs::make('Image', 'image')
    ->thumbs([
        ['name' => 'thumbnail', 'w' => 200, 'h' => 100, 'method' => 'fit'],
    ])
    ->disk('public')
    ->path('images-from-nova')
    ->prunable()
    ->hideFromIndex(),
```

This field will automatically generate two images on your disk and will fill `image` and `thumbnail` attribute of your model with path of these files. Using `$model->image` you will find original uploaded image and with `$model->thumbnail` you will find a 200x100 image.

Configuration
-------------

[](#configuration)

`thumbs` method accepts a list of associatable-array with these keys:

KeyMandatoryAcceptanceDescriptionnameYstringThe model column where you want to persist your thumbnail pathwYintegerThe width of thumbnailhYintegerThe height of thumbnailmethodYstring (fit/resize)The Intervention method to generate imagePrunable
--------

[](#prunable)

NovaImageWithThumbs takes care of prunable images. If you delete a model with thumbnails, the field will automatically deletes useless files for you.

Show thumbnails to users
------------------------

[](#show-thumbnails-to-users)

If you need to show thumbnails inside index or detail page, you can add a new standard Image Field to your resource:

```
Image::make('Thumbnail', 'thumbnail')
    ->disk('public')
    ->path('images-from-nova')
    ->exceptOnForms()
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~51 days

Total

3

Last Release

2042d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bba91aaa49908a8ecb57349bc3ac09d9b1dae952cd6e97dc807f23975ed0cc9c?d=identicon)[alberto.bottarini](/maintainers/alberto.bottarini)

---

Top Contributors

[![alberto-bottarini](https://avatars.githubusercontent.com/u/1442934?v=4)](https://github.com/alberto-bottarini "alberto-bottarini (8 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/alberto-bottarini-nova-image-with-thumbs/health.svg)

```
[![Health](https://phpackages.com/badges/alberto-bottarini-nova-image-with-thumbs/health.svg)](https://phpackages.com/packages/alberto-bottarini-nova-image-with-thumbs)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
