Member
Member
klimas   2009-04-15, 13:47
#1

Hi, I have adjusted my theme - if I click the picture it shows the next picture in my subgallery. Problem is when I click the last picture. It brings page with errors. Could you please advise me how to modify the code? When I click the last image I need to go back to the subgallery page.

Thank you very much!!!

http://yabasta.cz/zenphoto/snow-fever/solden-21-03-2009/solden22.jpg.php

Administrator
Administrator
acrylian   2009-04-15, 14:22
#2

May I say that it is really inconvenient not to be able to move back and forward? I am not sure that I ever had clicked on the image...

Anyway, you need to check with if(hasNextImage()) if there is a next image.

Member
Member
klimas   2009-04-15, 14:41
#3

I am not a programmer so my result is not really cler, I can change only easier issues, but I will try.. Thank you

Best solution for me would be - if I scroll mouse over left part of the image it shows small arrow to left (goes back after clicking) and small arrow to right on the right half of the image (goes to next image and after last image to the subalbum) but it is only in my dreams i am not able to program that change

Maybe some handy expert-volunteer can take it as challenge and help to our snow crew

Administrator
Administrator
acrylian   2009-04-15, 14:53
#4

It's actually quite easy. You have a link around the image, right? So just put that link within a if(hasNextImage()) { do normal next image link like now } else { do album link }. There is a function for the album link, please see the doc.

Member
Member
klimas   2009-04-17, 21:23
#5

Thank you very much

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.