Comments (6)
not yet, will add soon!
from littlelink-server.
Can be done once you gain access to the index.html
Example
<style>
body {
background-image: url('https://i.imgur.com/somerandompicture.png');
background-repeat: no-repeat;
background-size: 100%;
background-color: #000000;
height: 100%;
width: 100%;
left: 0;
top: 0;
}
</style>
from littlelink-server.
Thanks! Will do this in code so that you don't have to map the volume and it's completely stateless.
from littlelink-server.
This is a lovely idea! I second this!
from littlelink-server.
Any progress on this? :)
from littlelink-server.
Since this has not been built, for those who else are wondering if there is a a workaround. Here you go.
For Remote Images
This code pulls from an external image url.
Add Path, create the normalize.css
file in the appdata docker folder location.
Container Path: /usr/src/app/build/public/css/normalize.css
Host Path: /mnt/user/appdata/littlelink/css/normalize.css
Use this code for normalize.css
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{background-image:url(https://i.imgur.com/something.png);background-size:cover;background-attachment:fixed;background-repeat:no-repeat;background-position: center;}margin>
/*# sourceMappingURL=normalize.css.map*/
Just replace the https://i.imgur.com/something.png
in the code
For Locally Hosted Images
This code pulls stored images
Create a container path to store you images, then map the container to give it access to the images.
Container Path: /usr/src/app/build/public/static/media/local
Host Path: /mnt/user/appdata/littlelink/images
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{background-image:url(/static/media/local/Background.webp);background-size:cover;background-attachment:fixed;background-repeat:no-repeat;background-position: center;}margin>
/*# sourceMappingURL=normalize.css.map*/
I stored mine as a webp so it loads faster and just named it as Background
in the folder /static/media/local/Background.webp
FYI
If you do Locally Hosted Images, you can use the path and store your profile image as well.
Just change the location of AVATAR_URL:
and AVATAR_2X_URL:
to the mapped folder and the phone being used.
I stored mine as a webp so it loads faster and just named it as Profile
in the folder /static/media/local/Profile.webp
from littlelink-server.
Related Issues (20)
- Add rel attribute to Custom Button HOT 7
- [BRAND REQUEST] Pixelfed
- [Feature Request] Separate blocks and clickable links in the footer HOT 1
- [BRAND REQUEST] Lemmy
- [BRAND REQUEST] Threads
- [BRAND REQUEST] X (the "new" twitter) HOT 4
- [Enhancement] Categories HOT 2
- [BRAND REQUEST] Google Scholar
- [BRAND REQUEST] ORCID
- [BRAND REQUEST] Semantic Scholar
- [BUG REPORT] X Logo is missing a background HOT 2
- Question: Is it possible to export the page as static files? HOT 1
- [Request] Please move to publishing semver releases HOT 4
- Custom Favicon and Button Text for Ghost HOT 1
- [BRAND REQUEST] Forgejo
- [BUG REPORT] Button event tracking for Umami does not show up in dashboard HOT 8
- [BUG REPORT] <Concise description of the bug> HOT 2
- Update the Twitter Button HOT 1
- Update copyright year. HOT 1
- [BUG REPORT] GitHub Action Hangs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from littlelink-server.