Extensions:Watermarking Image Automation

From Lorekeeper Wiki
Revision as of 13:42, 4 June 2023 by Speedy (talk | contribs) (Finished page.)
Jump to navigation Jump to search
Watermarking - Masterlist Image Automation addition
Description Automates watermarking to a square image.
Author(s) Speedy
Status stable
Github SpeedyD/lorekeeper
LK Version 3.0.0 dev
Is part of LK v3.0.0's release






THIS EXTENSION IS PART OF v3.0.0
This extension has been merged into the develop branch (aka the future v3.0.0 branch) as Watermarking - Masterlist Image Automation addition.
You will not be able to download this. This wiki page is only for referencing purposes.

Automatically makes your images (and thumbnails) wider if the image is tall and taller if the image is wide- make it equal height and width. A perfect square.

Also adds the option to disallow users from manually uploading thumbnails.

Installation

As this extension is part of v3.0.0, you will want to perform any actions required to update properly. But there are no other installation steps otherwise.

Configuration

In the config/lorekeeper/settings.php file, find:

Masterlist Image Automation Replacing Cropper

Under this header, you'll find the following option:

'masterlist_image_automation' => 0, If set to 1, it will automatically make images/thumbnails square, adding transparency on width or height based on whether the image is tall or wide.

In the config/lorekeeper/settings.php file, find:

Masterlist Image Automation Removing Manual Upload For Users

Under this header, you'll find the following option:

'masterlist_image_automation_hide_manual_thumbnail' => 0, If set to 1, it will hide the manual thumbnail feature for users.

Usage

After the above options are set, it basically automates the rest. That's the point of this extension.

Troubleshooting

I'm Speedy#4060 on Discord, but please do not contact me directly.

Instead, please tag me in the Lorekeeper server if you need my help.

I am not a regular there, so asking something without a tag might not get a response.

Images

As this extension is primarily back-end work, there will not be any images.

Version History

  • *1: Initial creation. Though there were lots of edits locally, they never made it into separate versions. This is what got merged into v2.0.0.
  • *2: Added the option to hide the ability to manually upload thumbnails from non-staff. This is what got merged into v3.0.0.

(This extension has never had a tracker update, and never will.)

See Also

This extension is an addition on top of Extensions:Watermarking.

Both this extension as well as that are part of v2.0.0, so you do not have to worry if you're updating- especially since the fully updated version of this extension is part of v3.0.0, so by the time you're using this, you're good.