Difference between revisions of "Extensions:90 Percent Watermark"

From Lorekeeper Wiki
Jump to navigation Jump to search
m (Warning not to use when on develop)
Tag: 2017 source edit
m (I don't know wiki coding obviously)
Tag: 2017 source edit
Line 1: Line 1:
 
{{Extensioninfobox|title=90 Percent Watermark|desc=Scales your watermark up or down to 90 Percent of the masterlist image!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/90-percent-watermark}}|LKVer=2.1.0 2023|migration=no|package=no}}
 
{{Extensioninfobox|title=90 Percent Watermark|desc=Scales your watermark up or down to 90 Percent of the masterlist image!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/90-percent-watermark}}|LKVer=2.1.0 2023|migration=no|package=no}}
  
__**DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH**__
+
'''<u>DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH</u>'''
  
 
== Installation ==
 
== Installation ==

Revision as of 10:16, 14 January 2023

90 Percent Watermark
Description Scales your watermark up or down to 90 Percent of the masterlist image!
Author(s) Speedy
Status stable
Github extension/90-percent-watermark
LK Version 2.1.0 2023







DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH

Installation

Pull the extension branch and push to your site. That's it! Don't forget to run php artisan update-extension-tracker and php artisan optimize!

Configuration

As per the new update, you will need to head into config/lorekeeper/settings.php. You will find options under the "Watermark Resizing (90 Percent Watermark)" header.

By default, the extension is turned OFF. Change this setting to 1 to enable it: 'watermark_resizing' => 0, (You also need to change the 'watermark_masterlist_images' setting to be enabled.)

The following option will set the scale. By default, it's 0.9, or 90 percent, as per extension title. 'watermark_percent' => 0.9,

By default, the thumbnail watermark resizing is also turned OFF. Changing this setting to 1 will enable it: 'watermark_resizing_thumb' => 0, (You also need to change the 'watermark_masterlist_thumbnails' setting to be enabled.)

Usage

If all settings above are enabled, watermarking is pretty much automated! Be sure to run php artisan optimize after each change. All you need to do is upload images

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