Difference between revisions of "Site Images"
(Created page with "Site Images is a feature in the admin panel that is used to replace the images used in the site layout. It also provides an upload for a CSS file that can be used to insert CS...") Tag: 2017 source edit |
|||
Line 1: | Line 1: | ||
Site Images is a feature in the admin panel that is used to replace the images used in the site layout. It also provides an upload for a CSS file that can be used to insert CSS into the site layout without editing the site code directly. This page can be used by users with the '''Edit Site Settings''' power. | Site Images is a feature in the admin panel that is used to replace the images used in the site layout. It also provides an upload for a CSS file that can be used to insert CSS into the site layout without editing the site code directly. This page can be used by users with the '''Edit Site Settings''' power. | ||
− | + | =Usage= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | = Usage = | ||
The Site Images page provides uploads for the following images: | The Site Images page provides uploads for the following images: | ||
− | * | + | *'''Header Image''' |
− | + | **The header banner displayed at the top of the page. PNG format, default height of 200px. Tiles in both directions. | |
− | + | *'''Characters Icon''' | |
− | + | **The characters graphic on the front page. PNG format, default size of 200px x 200px (no restriction). | |
− | + | *'''Account Icon''' | |
− | + | **The account graphic on the front page. PNG format, default size of 200px x 200px (no restriction). | |
− | + | *'''Inventory Icon''' | |
− | + | **The inventory graphic on the front page. PNG format, default size of 200px x 200px (no restriction). | |
− | '''Header Image''' | + | *'''Currency Icon''' |
− | + | **The bank graphic on the front page. PNG format, default size of 200px x 200px (no restriction). | |
− | '''Characters Icon''' | + | *'''MYO Default Image''' |
− | + | **The default image used for MYO slots when no image is uploaded. PNG format, no size restriction. | |
− | '''Account Icon''' | + | *'''MYO Default Image (Thumbnail)''' |
− | + | **The default masterlist thumbnail used for MYO slots when no image is uploaded. PNG format, size of masterlist thumbnails. | |
− | '''Inventory Icon''' | + | *'''Meta Tag Image ([[Updating: to 2.0.0|2.0.0]])''' |
− | + | **The image displayed in meta tag previews on social media, discord, and the like. PNG format, no size restriction. | |
− | '''Currency Icon''' | + | *'''Watermark Image ([[Updating: to 2.0.0|2.0.0]])''' |
− | + | **Watermark for applying to [[masterlist]] images (if enabled). | |
− | '''MYO Default Image''' | + | *'''Content Warning Image ([[Updating: to 2.0.0|2.0.0]])''' |
− | + | **Thumbnail used for gallery submissions with a set content warning. PNG format, size of masterlist thumbnails. | |
− | '''MYO Default Image (Thumbnail)''' | ||
Additionally, there is an upload under the heading Site CSS. This file will be included after all other CSS files that are added to the page. Reuploading the file will replace the original. | Additionally, there is an upload under the heading Site CSS. This file will be included after all other CSS files that are added to the page. Reuploading the file will replace the original. | ||
− | = Editing = | + | =Editing= |
A single upload is presented for each. The "View Current" button can be clicked to visit the URL of the file, though previews of each image are given next to each field. | A single upload is presented for each. The "View Current" button can be clicked to visit the URL of the file, though previews of each image are given next to each field. | ||
On the command line, the following command can be run to overwrite uploaded images with the default ones. This command also works to copy default images over when none are present. | On the command line, the following command can be run to overwrite uploaded images with the default ones. This command also works to copy default images over when none are present. | ||
− | + | ||
+ | <code>php artisan copy-default-images</code> | ||
+ | |||
Maximum image file sizes are subject to as specified in php.ini on your server - if your image is failing to upload, it may be too large. (Large images are not recommended either, as this will consume large amounts of bandwidth on each page load.) | Maximum image file sizes are subject to as specified in php.ini on your server - if your image is failing to upload, it may be too large. (Large images are not recommended either, as this will consume large amounts of bandwidth on each page load.) | ||
− | = See Also = | + | =See Also= |
− | * Site Settings | + | *[[Site Settings]] |
− | * File Manager | + | *[[File Manager]] |
Revision as of 13:53, 19 June 2021
Site Images is a feature in the admin panel that is used to replace the images used in the site layout. It also provides an upload for a CSS file that can be used to insert CSS into the site layout without editing the site code directly. This page can be used by users with the Edit Site Settings power.
Usage
The Site Images page provides uploads for the following images:
- Header Image
- The header banner displayed at the top of the page. PNG format, default height of 200px. Tiles in both directions.
- Characters Icon
- The characters graphic on the front page. PNG format, default size of 200px x 200px (no restriction).
- Account Icon
- The account graphic on the front page. PNG format, default size of 200px x 200px (no restriction).
- Inventory Icon
- The inventory graphic on the front page. PNG format, default size of 200px x 200px (no restriction).
- Currency Icon
- The bank graphic on the front page. PNG format, default size of 200px x 200px (no restriction).
- MYO Default Image
- The default image used for MYO slots when no image is uploaded. PNG format, no size restriction.
- MYO Default Image (Thumbnail)
- The default masterlist thumbnail used for MYO slots when no image is uploaded. PNG format, size of masterlist thumbnails.
- Meta Tag Image (2.0.0)
- The image displayed in meta tag previews on social media, discord, and the like. PNG format, no size restriction.
- Watermark Image (2.0.0)
- Watermark for applying to masterlist images (if enabled).
- Content Warning Image (2.0.0)
- Thumbnail used for gallery submissions with a set content warning. PNG format, size of masterlist thumbnails.
Additionally, there is an upload under the heading Site CSS. This file will be included after all other CSS files that are added to the page. Reuploading the file will replace the original.
Editing
A single upload is presented for each. The "View Current" button can be clicked to visit the URL of the file, though previews of each image are given next to each field.
On the command line, the following command can be run to overwrite uploaded images with the default ones. This command also works to copy default images over when none are present.
php artisan copy-default-images
Maximum image file sizes are subject to as specified in php.ini on your server - if your image is failing to upload, it may be too large. (Large images are not recommended either, as this will consume large amounts of bandwidth on each page load.)