Home
Staff
Academic Staff
Past Heads of the Department
Temporary Academic staff
Academic Support Staff
Students
E18 Batch
E17 Batch
E16 Batch
Alumni
How to change/add a new Staff Profile image ?
Home
Documentation
How to change/add a new Staff Profile image ?
Go to the
GitHub repository
of this site
Click
"Fork"
Click
"images"
Click
"staff"
Click
"academic_staff"
Click on "Add file" then on
"Upload files"
Drag and drop your files to the
given place
Give the file a descriptive name. Eg E18576.jpg, IshanFernando.jpg etc.
Only upload square photos. If you don't have square photos, Use
this
site to crop your photo to 1:1 aspect ratio
Click
"Commit changes"
Click on
"Add files via upload"
Copy the new file path by clicking on the copy
button
Now go to the staff page that you want to change the profile picture of.
Click
pages
Click
staff
Click
"academic_staff"
Click on the profile that you want to change the image of
Click on
edit
Around
line
13 of the text, change the path of the "url_image" to the new path that was copied in step 10
Example,
url_image: images/staff/academic-staff/damayanthi-herath.jpg
Click
"Contribute"
then click "Open pull request"
Click
"Create pull request"
For the
Title
, write "Update profile image - name1-name2" replace 18456 with your registration number
Click
"Create pull request"
Now an admin/a maintainer will approve these changes within 48hrs.