Member
Member
harootun   2009-03-14, 23:50
#1
Another question from a newbie.

Is there a simple way to change the set-up in image.php so that when you click on the full-sized photo, it goes to the next photo? I'm sure it can be done, just wondering if someone's done it already Wink I hunted around but haven't seen it, though I probably just missed it.

Thanks in advance for any advice.
Member
Member
harootun   2009-03-15, 00:24
#2
Never mind. Easy enough to figure out with the great function list here on the site (and using an if/else statement). I'm getting the hang of this!!!
Member
Member
pierrewetzel   2009-04-14, 09:00
#3
Hello,
I am also interested in that. Did you find a solution ?
Pierre
Administrator
Administrator
acrylian   2009-04-14, 09:19
#4
Put a link using http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetNextImageURL around the image.
Member
Member
pierrewetzel   2009-04-14, 10:02
#5
Thank you for your reply, but, where do I put this link ? In what page ?
Pierre
Member
Member
southdreamz   2009-04-14, 10:12
#6
it should be image.php.

i have implemented here http://album.mirchiwoods.com, now i removed!
Member
Member
pierrewetzel   2009-04-14, 10:51
#7
Hi,
Ok, I see the image.php and looked into it. I think on have to change some things on those lines, but I can't do that. Someone could again help me,
Thanks a lot in advance,
Pierre

<div class="image">

<div class="imgnav">
<?php if (hasPrevImage()) { ?> <a>" title="Previous Image">« prev</a>
<?php if (hasNextImage()) echo " | "; } if (hasNextImage()) { ?> <a>" title="Next Image">next »</a><?php } ?>
</div><!--imgnav!-->

<div class="the_image">
<?php printDefaultSizedImage(getImageTitle()); ?>
</div><!--the_image!-->
Administrator
Administrator
acrylian   2009-04-14, 11:20
#8
Put the link around the `rintDefaultSizedImage(getImageTitle());`. Standard theme have a full image link in that place actually.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.