Add :image-type to routes and update handling

Add :image-type to the window-crop* routes. Re-added the route handling
logic back to app-routes.