default image code example
Example 1: background image
div {
background-color: #ffffff;
background-image: url("img_tree.png");
background-repeat: no-repeat;
background-attachment: scroll|fixed|local|initial|inherit;
background-position: right top | x% y% | xpos ypos;
background-clip: border-box|padding-box|content-box|initial|inherit;
background-size: auto|length|cover|contain|initial|inherit;
}
//shorthand:
div {
background: #ffffff url("img_tree.png") no-repeat right top;
}
Example 2: create transparent placeholder img
from PIL import Image
img = Image.new('RGB', (32,32), color='white')
img.save('empty.png')
quit()
Example 3: create transparent placeholder img
convert -size 32x32 xc:white empty.jpg