Site icon Bytefreaks.net

Contest Management System (CMS) How to assign photographs to user profiles

Advertisements

The purpose of this post is to show how to assign profile pictures to the users of the Contest Management System (http://cms-dev.github.io/ https://github.com/cms-dev/).

First of all, make sure that the folder /var/local/lib/cms/ranking/faces exists. If it does not, then create it with mkdir /var/local/lib/cms/ranking/faces (most probably you will need to have root access rights to complete this command).

Then, for each contestant (user) you want to assign a photograph, place in the faces folder an image that has the same name as the username of the contestant. For example, if you want to assign a PNG image to user admin, then you need to copy the image in the faces folder using the name admin.png . Note that the image type can be any of the following .png, .jpg, .gif and .bmp.

This post is also available in: Αγγλικα

Exit mobile version