Extensions:Rarity Based MYO Images

From Lorekeeper Wiki
Jump to navigation Jump to search
Rarity Based MYO Images
Description Allows upload of rarity-specific MYO slot images automatically applied to newly generated MYO slots of that rarity
Author(s) Min
Status stable
Github extension/rarity-myo-images
LK Version 3.0.0
Contains a Migration






This extension allows site owners/staff able to edit rarities to upload a default MYO image for the specified rarity in the admin panel. The image is automatically processed to create a thumbnail version with the dimensions indicated in the site's config files. When a new MYO slot is created either through the admin panel or a slot item tag, the slot's image and thumbnail will automatically be set to the uploaded image if the slot has a rarity that has an MYO image uploaded. If the slot lacks a rarity or the rarity does not have an MYO image, it will use the default MYO image in site images instead.

Installation

Pull the branch and resolve any merge conflicts. Afterwards, you can run the following commands:

php artisan migrate

php artisan optimize (x2)

Images

(Coming soon)

Troubleshooting

You can find me in the Lorekeeper Discord!