- fork this repository
- Clone your repository
$ git clone https://github.com/<username>/voteitimgs.git
$ cd voteitimgs
A good image file name should like:itemname_imageauthor.jpg for example: usa_mikejones.jpg, usa_wangxiaoming.jpg copy your file to voteitimgs/imgs/
- usually, you should not remove other contents, append your content instead.
- key is item Id, it's value is a object with two keys: desc: description of your item. imgs: image files of your item. multiple image should split with '|', for example: usa_mikejones.jpg|usa_wangxiaoming.jpg
var rankItemDetails = {
0: {desc:"this is a short description",imgs:"image1.jpg|image2.jpg"},
1: {desc:"description of USA",imgs:"usa1_joe_woods.jpg|usa_alan_walker.jpg|usa_john_white.jpg"},
};
git add imgs/*
git commit -m 'update item details of '
git push origin master