![]() |
|
i-feel-dirty Download Picture - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: i-feel-dirty Download Picture (/thread-9842.html) |
i-feel-dirty Download Picture - Newsco - 2012-04-11 Hi, New to Zen and the author of the Theme said (on his site) to post problems here. I like the i-feel-dirty template but am having a problem that when displaying the photo, even thou 'Full Image Protection' is set to 'Download' nothing happens when you click on the picture. I Tried Garland Theme and it does download, so is there something I can add to enable this. This is the only issue stopping the site going live. I had a look in album.php and image.php for both Themes to compare them and try and work out what's missing but am affraid it was beyond me as the coding between the 2 seemed very different - still trying to figure it out but any suggestions or even what code to change and what to change it to would be great. Thanks John. i-feel-dirty Download Picture - sbillard - 2012-04-11 Sorry, but we are not familiar with that theme. However, if the download does work correctly with the Garland theme but not the i-feel-dirty theme, then we can presume that the problem has something to do with the theme itself. I can only guess, but since you say nothing happens when you click on the picture the best guess is that the theme has not created a link for the picture. i-feel-dirty Download Picture - Newsco - 2012-04-11 Done it after much comparing of codes between templates it's actually very easy: Just had to add: `<a>" title="<?php echo getImageTitle();?>"></a>` in the image.php at the point of `` to end up with: ` <div id="image"> <?php if (getOption('use_colorbox_image')) { ?> <a rel="zoom">" title="<?php echo getBareImageTitle();?>"> <?php printDefaultSizedImage(getImageTitle()); ?></a> <?php }else{ ?> <a>" title="<?php echo getImageTitle();?>"> <?php printDefaultSizedImage(getImageTitle()); ?> <?php } ?> </a> ` i-feel-dirty Download Picture - Mark R - 2012-04-11 I remember having an issue with this as well and added, ` <a>" title="Download full size image"> Original Size: <?php echo getFullWidth() . "x" . getFullHeight(); ?></a> ` when I wanted to create a link for the actual image I had stored on my server for download. EDIT: I should have refreshed to see you had a solution before posting... i-feel-dirty Download Picture - vincent3569 - 2012-04-11 hi this is not realy an issue and i-feel-dirty works like zenpage theme : if colorbox is checked, unprotected Image is displayed in the colorbox. in other case, there is not link. i-feel-dirty Download Picture - micheall - 2012-04-12 I think it's more of a request he was aiming for the ability to have the image downloaded. At least that's what I am understanding... i-feel-dirty Download Picture - Newsco - 2012-04-12 That Correct Micheall, and as you can see from my previous posting although it took me a while to figure out I got there in the end. Going to push my luck and see if I can't work out how to add the 'downloadList' plugin. John i-feel-dirty Download Picture - Mark R - 2012-04-13 seems something got lost in the copy paste... `<?php echo gettext("Original Size:"); ?> <?php echo getFullWidth() . "x" . getFullHeight(); ?>` I remember having trouble with colorbox (it would hang on large images) and some of my family not being very savvy about doing a save as... which is why I had added a link. |