> try_files $uri $1/medium_$2 $1/large_$2 =404; Hmm, thx the '= 404' is all that I missed. p.s. the files indeed didn't exist (expected) but the request always returned the source/original file (without cropping it), but now with the additional 404 it works nicely. rr