#55

Product support

Get help in the plugin support forum.

Categories

  • Developer Tools

Automatically add watermarks to your images created when you use {{ item.image.thumb(480, 550, {mode: 'crop'}) }} (different modes can be used)

Plugin don't change original images, so all changes can be rolled back easy. Also you can change watermark image without reuploading your pictures.

Plugin usage

Upload a picture, you want to use is watermark in plugin settings.

Fill other settings update your models, where you attache images in this way:

    public $attachOne = [
        'image' => ['Alexis\Watermark\Models\Watermark']
    ];

instead of

    public $attachOne = [
        'image' => ['System\Models\File']
    ];

or

    public $attachMany = [
        'images' => ['Alexis\Watermark\Models\Watermark']
    ];

instead of

    public $attachMany = [
        'images' => ['System\Models\File']
    ];

Obligatorily press "Clear files" button in plugin settings!

This button delete all files like storage/app/uploads/public/56c/b56/976/thumb_25_450x519_0_0_auto.jpg, but leave in peace original files. So, if you decide to change watermark, you don't need to upload all pictures again! Just change picture in plugin settings and press "Clear files" button.

Images with watermarks will automatically created when you use {{ item.image.thumb(480, 550, {mode: 'crop'}) }} (different modes can be used)

Don't forget to clear cache to see the changes!

1.0.3

Bug fixes

Jun 23, 2017

1.0.2

Implement settings

Mar 14, 2017

1.0.1

Initialize plugin.

Mar 14, 2017