Close
Just taking no referer as valid would fix this and still prevent hotlinking. That's how most reliable referer checks are done.

Also, you might not want to disable referer checks and dynamic URLs at the same time, because then if your bandwidth usage triples, you won't be able to tell which was the cause (hotlinking/piclens or spidering) ...