![]() |
|
download images - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: download images (/thread-9559.html) |
download images - tunafish - 31-01-2012 I am having trouble finding out how the downloadList.php plugin works. On my image.php template I used:
This gives me the link: When I click on the link the I am just sending the ?download parameter, nothing downloads.
As you can see I have my images in the folder "albumshighres" (set in zenphoto.cfg) and with an "albums" album that acts like a wrapper. download images - acrylian - 31-01-2012 The link generated is correct. Sadly I can reproduce that it does not work for images somehow. (We use it on our site as well, though not for images). Regarding the filesize() I am not sure but you can disable the option on the plugin options to workaround. download images - acrylian - 31-01-2012 Ok, here it is, you need to use the path not the url actually: download images - tunafish - 01-02-2012 Thanks acrylian for the help. Yeah it looks like it only works with links to physical images, not once created from a script. Any tip on how this could be done? Again I was hoping routing it with the Zenphoto image processor i.php although I am not sure if I can prevent people understanding the URL to download images without my watermark. download images - acrylian - 01-02-2012 The plugin is meant for directly file downloads. However, the cached files (those sized via i.php) follow clear naming conventions you can implement (look at the files in cache). You only would need to change the path to "cache//". To combine it with the downloadList plugin these images naturally need to be cached already though. download images - tunafish - 01-02-2012 OK, so no custom dimension on the fly like a screensaver processed to fit the users screen, at least when it is not cached. |