(define-page (regexp "/assets/.+/.+") (lambda (path) (let* ((paths (string-split path "/")) (asset-id (second paths)) (type (third paths))) (awful-response-headers `((content-type image/jpeg))) (send-static-file "/home/local/andyjpb/.../thumbs/IMG_5021.JPG") "" )) no-template: #t)