use symlinks if cross device
add permission control
link jpg files