Prev/Next Over the current image?

I'm trying to set up ZP for use in my photoblog. If you take a look at:

http://non-rural.com/current/horiz_2_510.jpg

Take a look at how the prev/next functions in FF/Safari to see what I'm going for. I've tried a myriad of things to get it to function in a similar fashion in IE6 and I can't for the life of me figure out how.

It may not be possible to do things this way, but the goal was to be able to have my photoblog's nagivation function this way regardless of image width.

If you want a static html version to check out: take a look at

http://www.publicconcept.com/help/help_01.htm

Comments

  • Granted I am using IE7 .. it seems to function to me the same way it is working in firefox.
  • I found a decent solution: I used <?php echo getFullHeight(); ?> to call the height of the image. This method requires putting embedding the style that uses it into the image.php.

    This method isn't 100% perfect though, as the displayed image and the actual file have to have the same dimensions, otherwise the clickable area will differ in height from the image. This isn't a problem for me as all the images were going to be actual size anyway.
  • @borysenko
    Well then you can use the getDefaultHeight() to use the default height or getSizeDefaultImage() to get the size(s) that you setup in your zp-config.php file. Also, if you're using a custom image size (using getCustomImageURL) you can get the size using getSizeCustomImage()
  • Thanks GameDudeX. I knew those had to exist, but I couldn't find them in the documentation.
  • You can find them on the Theme Functions Reference. But there's not really any information for them yet. I hope to be able to finish that, but schools already on it's second day of the summer semester and it's already kicking my arse. I'll try and work on it if I have time on the weekends, but if I don't I'll try and finish it up in about 6 weeks (when summer classes end).
Sign In or Register to comment.