Falken
July 24, 2016, 3:27pm
1
Hi.
I am trying to change the standard, gradient login screen to one that I have choosen. I have searched and searched, but can only find info about changing the colors of the login screen.
I want to add a image, similar to what Owncloud uses for their “test” user-login.
Please help me, and I am not very good with code. But, I have managed to apply personal logos and such using the “themes” section. But, I can only trace the background to a .css file.
Please help me - Thank you in advance!
Hi,
did you had a look at the documentation how to change colors:
Falken
July 24, 2016, 3:43pm
3
Hi and thanks for your reply.
Yes, I have looked at that document, but I cannot seem to understand how and were I am supposed to attach the custom image that I want uploaded as an background. I am not interested in changing the color from blue to ex. red. But, to an .png or .jpg file.
Probably also somewhere at the code. Inspect the source code of the logo which you want to change and search through the code to find the relevant part of it might be a starting point.
Falken
July 24, 2016, 3:51pm
5
I will do that, thank you!
If someone else happen to have a tips, that is a little bit more straight forward - Please go ahead and write a reply.
Falken
July 30, 2016, 10:44pm
6
Im going to push this one to the top. I have not managed to find the correct command line and therefore made no progress.
Please assist.
It might be helpful to write what you have done so far to solve this issue.
But if the background image is not themeable like the logos or favicons (by copying it over as described in the linked docs above) create a new feature request at:
Maybe you can also find some additional info at:
opened 05:05PM - 14 Mar 16 UTC
closed 02:46PM - 26 Mar 16 UTC
Type:Bug
junior job
3 - To Review
feature:theming
### Steps to reproduce
1. Upgrade from 8.2.2 to 9.0
### Expected behaviour
The … themes background image should stay the same
### Actual behaviour
The themes background image are not used in the theme (visible) if it's local, but works with remote address.
http://pastebin.com/mNQDcfcP
### Server configuration
**Operating system**:
Ubuntu Server 14.04
**Web server:**
Apache 2.4
**Database:**
MySQL 5.5
**PHP version:**
5.5
**ownCloud version:** (see ownCloud admin page)
9.0
**Updated from an older ownCloud or fresh install:**
Updated from 8.2.2
**Where did you install ownCloud from:**
ownCloud repos
**Signing status (ownCloud 9.0 and above):**
```
No errors have been found.
```
**List of activated apps:**
```
Enabled:
- activity: 2.2.1
- calendar: 1.0
- comments: 0.2
- contacts: 1.0.0.0
- dav: 0.1.5
- documents: 0.12.0
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- mail: 0.3.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- updatenotification: 0.1.0
Disabled:
- encryption
- external
- files_external
- templateeditor
- user_external
- user_ldap
```
**The content of config/config.php:**
```
{
"system": {
"instanceid": "ocdd06e12069",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"cloud.fsgo.se",
"cloud.fsgo.eu",
"fsgo.se",
"www.fsgo.se"
],
"datadirectory": "\/var\/www\/owncloud\/data",
"overwrite.cli.url": "https:\/\/cloud.fsgo.se\/owncloud",
"dbtype": "mysql",
"version": "9.0.0.19",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"default_language": "sv",
"allow_user_to_change_display_name": true,
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_smtphost": "mail.fsgo.se",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "admin",
"mail_domain": "fsgo.se",
"forcessl": true,
"mail_smtpsecure": "tls",
"mail_smtpauthtype": "LOGIN",
"theme": "fsgo",
"maintenance": false,
"secret": "***REMOVED SENSITIVE VALUE***",
"forceSSLforSubdomains": true,
"loglevel": 2,
"app.mail.server-side-cache.enabled": true,
"app.mail.imaplog.enabled": true,
"logtimezone": "Europe\/Stockholm",
"memcache.local": "\\OC\\Memcache\\Redis",
"filelocking.enabled": "true",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "\/var\/run\/redis.sock",
"port": 0,
"timeout": 0,
"dbindex": 0
},
"appstore.experimental.enabled": true,
"trashbin_retention_obligation": "30",
"updatechecker": false
}
}
```
**Are you using external storage, if yes which one:** local/smb/sftp/...
no
**Are you using encryption:** yes/no
no
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
no
### Client configuration
**Browser:**
Chrome 49
**Operating system:**
Deepin 15 and Windows (tested both)
### Logs
#### Web server error log
```
No error log
```
#### ownCloud log (data/owncloud.log)
```
No errors
```
#### Browser log
```
No error log
```

Falken
August 1, 2016, 8:15am
8
Hi and thank you for your reply.
I have searched the themes directory as well as, the css code strings. This, without any progress.
I am only guessing that this can be done, due too the look of this page: https://demo.owncloud.org/
That page has got a personal background, as far as I can see.
Thank you again.
Hi,
the demo.owncloud.org page is ownCloud 9.1.0 which got a new background compared to previous oC versions:
master
← background-contrast
opened 08:40PM - 07 Jun 16 UTC
While working on the 2FA stuff I noticed that the background image makes it hard… to read the thin, low contrast fonts. Hence I darkened the image and removed the yellow tint.
# Before


# After


@owncloud/designers what do you think? Is the blue too aggressive?
related to https://github.com/owncloud/core/issues/24035
It seems the background image itself is saved into:
/core/img/background.jpg
so it might be possible that it is just a matter of placing a new “background.jpg” (following the already provided documentation) into the folder:
/themes/yourtheme/core/img/background.jpg
Falken
August 8, 2016, 2:56pm
10
Oohh!
Thank you very much for this reply. Very interesting.
This information is really everything I need! Lets hope changing the “background.jpg” file will do the trick later!