support jpg,gif,png
add nginx config rewrite
add apache config file (todo)