dewsign/gallery-repeater

A gallery repeater block for [Dewsign's Nova Repeater Blocks](https://github.com/dewsign/nova-repeater-blocks) to output a collection of images

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:boilerplate

pkg:composer/dewsign/gallery-repeater

v1.0.2 2020-02-07 10:27 UTC

This package is auto-updated.

Last update: 2025-10-07 23:44:43 UTC


README

A gallery repeater block for Dewsign's Nova Repeater Blocks to output a collection of images

Installation & Usage

composer require dewsign/gallery-repeater

php artisan migrate

Within your repeater types add the Gallery

public function types(Request $request)
    {
        return [
            ...
            Dewsign\GalleryRepeater\Nova\Gallery::class,
        ];
    }

Styles

You can create multiple gallery and item styles by adding new templates to the /views/vendor/gallery-repeater/galleries and /views/vendor/gallery-repeater/items resource folders. The system will fallback to the default style if a view is not found.

Image Procesing

The config provides an easy way to customise the Image Processor. Create a new class with a compatible get method which can return the processed image url. Each Item template can have a unique image processor. Some common template names are included but they all render the default template (typically sufficient when combined with the Image Processor).