update lib image coffee
update some methods
add crop middlewarw for files
make view gallery