add timeline count config
add photo support