Skip to content

Zimbra-Community/unsplash

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

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

Screenshots

alt text alt text alt text

alt text alt text alt text alt text alt text alt text alt text

alt text alt text alt text

About

A theme for Zimbra to spice up the day with random images from unsplash.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages