Thanks acrylian for your help: I have found where to set this constant manually.
Actually, on the host I am using (ovh.net), the symlink is set correctly to the original file but it appears curiously as a folder in the cache directory. So zenphoto cannot find the original file. I can't understand why... I should check with my provider.