Extensions:Sales Image
Description | Allows the uploading of a single focal image to sales posts |
---|---|
Author(s) | Min |
Status | stable |
Github | extension/sales-image |
LK Version | 3.0.0 |
Contains a Migration | |
Allows staff to upload a single focal image to sales post that will be displayed on top of the sales's text in it's own box. Handy if you wanted to display a big batch image as a focus rather than multiple character thumbnails and/or having the image be within the sales's body text.
Comes with an additional site setting that allows you to choose if only the focal image (if set) is displayed or if the focal image is displayed along with all attached characters.
Image file type supported for the focal image is PNG.
Installation
Pull the branch and resolve any merge conflicts. Afterwards, you can run the following commands:
php artisan migrate
php artisan add-site-settings
php artisan optimize
(x2)
Configuration
There is a sales_image_display
site setting. Setting it to 0 (default) will only show the focal image if it is uploaded. Setting it to 1 will show the focal image along with all attached characters. If no focal image is uploaded or it is removed, then it will simply display attached characters (if any).
Images
Troubleshooting
You can ask for help in the Lorekeeper Discord.