Member
Member
Newsco   2012-04-11, 10:04
#1
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.
Member
Member
sbillard   2012-04-11, 15:21
#2
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.
Member
Member
Newsco   2012-04-11, 16:02
#3
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>
`
Member
Member
Mark R   2012-04-11, 16:30
#4
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...
Member
Member
vincent3569   2012-04-11, 22:12
#5
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.
Member
Member
micheall   2012-04-12, 05:15
#6
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...
Member
Member
Newsco   2012-04-12, 07:59
#7
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
Member
Member
Mark R   2012-04-13, 06:14
#8
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.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.