Home
People
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 Student Profile image ?
Home
People
Documentation
How to change/add a new Student Profile image ?
There are 2 methods of editing a Student Profile page.
Update using the
Google Form
You will have to copy all the other existing values to the
Google Form
if you use this method.
View Google
Form.
Note: Do not update using Pull Requests if you fill the google form.
Update using a
GitHub Pull Request
Easier if you are familiar with Github Pull Requests.
Follow the steps below to update using Pull Request
Update using GitHub Pull Request
Go to the
GitHub repository
of this site
Click
"Fork"
Click
"images"
Click
"students"
Click on your batch number
Click 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 a 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 student staff page that you want to change the profile picture of.
Click
pages
Click
students
Click your batch number
Click on your registration number file name. Eg. e18568.html
Click on
edit
Add the end of that page, change the path of the "image_url" to the new path that was copied in step 10
Example,
image_url: "images/students/e18/e18098.jpg"
Click
"Contribute"
then click "Open pull request"
Click
"Create pull request"
For the
Title
, write "Update profile image - E18456" replace 18456 with your registration number
Click
"Create pull request"
Now an admin/a maintainer will approve these changes within 48hrs.