{#if !window.user.subscription.file_viewer_branding}
Sharing settings are not available for your account. Subscribe to the Persistence plan or higher to enable these features.
{:else if !window.user.hotlinking_enabled}
To use the sharing settings bandwidth sharing needs to be enabled. Enable bandwidth sharing on the subscription page.
{/if}

File viewer branding

You can change the appearance of your file viewer pages. The images you choose here will be loaded each time someone visits one of your files. The data usage will also be subtracted from your account's data cap. Keep in mind that large images can take a very long time to load over cellular connections. I recommend keeping the header and footer images below 100 kB, and the background image below 1 MB. Allowed image types are PNG, JPEG, GIF and WebP. If you want to use an animated banner you should use APNG or WebP. Avoid using animated GIFs as they are very slow to load.

Theme

Choose a theme for your download pages. This theme will override the theme preference of the person viewing the file. Set to 'None' to let the viewer choose their own theme.

{theme = e.detail; save()}}>

Header image

Will be shown above the file. Maximum height is 90px. Will be shrunk if larger. You can also add a link to open when the visitor clicks the image. The link need to start with 'https://'.


Header image link:
{#if header_image}
{#if header_link} {:else} {/if}
{/if}

Background image

This image will be shown behind the file which is being viewed. I recommend choosing something dark and not too distracting. Try to keep the file below 1 MB to not harm page loading times. Using a JPEG image with a quality value of 60 is usually good enough.

{#if background_image}
Custom file viewer background
{/if}

Footer image

Will be shown below the file. Maximum height is 90px. Will be shrunk if larger.


Footer image link:
{#if footer_image}
{#if footer_link} {:else} {/if}
{/if}

{add_file(e.detail)}} multi_select={false} title="Select image file">