I've recently installed Zenphoto to a subdomain of a site I'm working on. I enabled the class-AnyFile plugin (and class-textobject and class-WEBdocs) so that users on my Zenphoto site can download documents. I am able to get to the download if I manually type in the zenphoto/albums/subalbums/DOCUMENT URL, but when viewing in the gallery, if I click on the thumbnail to go to the original file, the way I might when clicking on an image to see the full sized version, it doesn't do anything. The gallery thumbnail doesn't seem to be linked to the document.
I'm running Zenphoto version 1.4.5.1, and the version of the plugins which ship with that version of Zenphoto.
Comments
You can edit the theme to change this behavior.Find the lines in `image.php` that read something like:
`
if (isImagePhoto()) {
$fullimage = getFullImageURL();
} else {
$fullimage = NULL;
}
`
and remove the `if` statement leaving just the `$fullimage = getFullImageURL();` statement.
Note however that this will work only if you have `full image protection` set to `unprotected`. Otherwise the full image link points to the full image processing script which expects to be handed an image to process.
Thanks!