Difference between revisions of "Extensions:Watermarking Image Automation"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Starting out, will finish later)
(Removed →‎Images: section as it's mostly behind the scenes automation)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=Watermarking - Masterlist Image Automation addition|desc=A short description|auth=[[User:Speedy|Speedy]]|status=stable|LKVer=3.0.0 dev|migration=no|package=no|dev300=yes}}
+
{{Extensioninfobox|title=Watermarking - Masterlist Image Automation addition|desc=Automates watermarking to a square image.|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD}}|LKVer=3.0.0 dev|migration=no|package=no|dev300=yes}}
  
{| style="margin: 4px auto; width: 80%; border: 1px solid #dc3545; background: #f52237;"
+
{| style="margin: 4px auto; width: 80%; border: 1px solid #9ADC38; background: #A1F524;"
 
|-
 
|-
| '''<u>DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH</u>'''
+
| '''<u>THIS EXTENSION IS PART OF v3.0.0</u>'''
 
|-
 
|-
| This extension has been merged into the develop branch (aka the future v3.0.0 branch) as [https://github.com/corowne/lorekeeper/commit/66f1e296211c6061c3e8dee6c7e477256f03de68 Watermarking - Masterlist Image Automation addition].
+
| This extension has been merged into the v3.0.0 branch as [https://github.com/corowne/lorekeeper/commit/66f1e296211c6061c3e8dee6c7e477256f03de68 Watermarking - Image Automation].
 
|-
 
|-
| Do not download if you are already on the develop branch, or if you're reading this from the future where Lorekeeper is already on v3.0.0.
+
| You will not be able to download this. This wiki page is only for referencing purposes.
 
|}
 
|}
Page under construction, sorry!
+
 
<!-- Put a short summary of your extension here! -->
+
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 ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
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 ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
In the <code>config/lorekeeper/settings.php</code> file, find:
 +
<syntaxhighlight lang="html">Masterlist Image Automation Replacing Cropper</syntaxhighlight>
 +
Under this header, you'll find the following option:
 +
 
 +
<code>'masterlist_image_automation' => 0,</code> 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 <code>config/lorekeeper/settings.php</code> file, find:
 +
<syntaxhighlight lang="html">Masterlist Image Automation Removing Manual Upload For Users</syntaxhighlight>
 +
 
 +
Under this header, you'll find the following option:
 +
 
 +
<code>'masterlist_image_automation_hide_manual_thumbnail' => 0,</code> If set to 1, it will hide the manual thumbnail feature for users.
 +
 
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
After the above options are set, it basically automates the rest. That's the point of this extension.
 +
 
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
Create a new thread in the #general-help channel of the Discord!
== Images ==
+
 
<!-- Do you have any images to show what it looks like in action? -->
+
You can always try tagging me (see my [[User:Speedy|user page]]), as I'm semi-active on the server, but a new thread is your best bet.
 +
 
 +
== 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 ==
 
== See Also ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
+
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.
 +
* [[Updating:_to_2.0.0]]
 +
* [[Updating:_to_3.0.0]]

Latest revision as of 05:52, 2 May 2024

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 v3.0.0 branch as Watermarking - Image Automation.
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

Create a new thread in the #general-help channel of the Discord!

You can always try tagging me (see my user page), as I'm semi-active on the server, but a new thread is your best bet.

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.