Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add the ability to add a custom header image and text on main page as well as options to hide dark mode and admin buttons #30

Open
stayingarmed opened this issue Dec 22, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request feature
Milestone

Comments

@stayingarmed
Copy link

I know there is a logo at the top, but it would be nice to add a large image in the middle of the page as well as being able to add some custom text on the main page and even edit the default upload text

Something like this:
Untitled-1

It would also be nice to have a config option to hide the admin button as well as the dark mode button and give an option to default to light/dark mode in the configs.

@Cirx08 Cirx08 added this to the v1.4.1 milestone Dec 23, 2024
@Cirx08 Cirx08 self-assigned this Dec 23, 2024
@Cirx08 Cirx08 added enhancement New feature or request feature labels Dec 23, 2024
@Cirx08
Copy link
Owner

Cirx08 commented Dec 23, 2024

As of v1.4.1 you can:

  • Hide the profile button using the ACCOUNT_SHOW_PROFILE_ICON = false environment variable.
  • Hide the dark mode button using the DISABLE_THEMES = true environment variable.
  • Set the default theme using the DEFAULT_THEME = "dark" environment variable.

As for the header image and text request I will not be including in this release as I need to play around with display options as I'm not entirely set on the suggested layout. I'll leave for a future release.

@stayingarmed
Copy link
Author

Maybe there would be a way to do a call to a css file for the default layout of the page and give admin access to the css file so they can edit the layout how they want?!?

@Cirx08
Copy link
Owner

Cirx08 commented Dec 23, 2024

This doesn't exactly make sense. You can already gain access to modify the CSS file by exec'ing into the container or by creating a bind mount to it which I don't recommend. But even if you done either of these methods you would still need to modify the HTML and it would mess up future updates to the files. This isn't something I plan to support so what I would recommend you do if you still need to modify the HTML is to fork the repository and build your own custom container image. If instead you want the in-built version I suggest you wait for v1.4.2 which will add a quote section (at the minute I don't plan to add the image because I can't come up with a nice way to display it that doesn't make the UI seem cluttered but that might change).

@Cirx08
Copy link
Owner

Cirx08 commented Dec 23, 2024

@stayingarmed v1.4.3 is now released with the mentioned quote option. You can add a quote across all galleries with the GALLERY_QUOTE environment variable or to a specific gallery with the GALLERY_QUOTE_{GalleryId} environment variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

2 participants