all figure and header jpg will be stored different dbflag sub direcotry.
Merge remote-tracking branch 'duty/master'