Unsplash
Spice up the Zimbra with random images from unsplash.com.
Installing
To show random image on login screen: Open the following file using nano/vi on your server /opt/zimbra/jetty/webapps/zimbra/public/login.jsp and append before </body>
the following css:
<style>
.LoginScreen {
background-color : #777 !important;
background-image : url('https://source.unsplash.com/random/featured/?nature') !important;
background-position : center;
background-repeat : no-repeat;
background-size : cover;
}
</style>
Bonus zimlet
This Zimlet shows random image in the top of the Zimbra UI after the user is logged in.
mkdir -p /opt/zimbra/zimlets-deployed/_dev/tk_barrydegraaff_unsplash
cd /opt/zimbra/zimlets-deployed/_dev/tk_barrydegraaff_unsplash
wget https://raw.githubusercontent.com/Zimbra-Community/unsplash/master/tk_barrydegraaff_unsplash/tk_barrydegraaff_unsplash.xml -O /opt/zimbra/zimlets-deployed/_dev/tk_barrydegraaff_unsplash/tk_barrydegraaff_unsplash.xml
wget https://raw.githubusercontent.com/Zimbra-Community/unsplash/master/tk_barrydegraaff_unsplash/tk_barrydegraaff_unsplash.css -O /opt/zimbra/zimlets-deployed/_dev/tk_barrydegraaff_unsplash/tk_barrydegraaff_unsplash.css