stopdesign thumbnail navigation

fretzl Administrator, Developer
Zenphoto nightly 12-12-2008. Theme: stopdesign.

There seems to be something wrong with the "previous thumbnail" in image.php.

This piece of code looks weird:
`<?php echo htmlspecialchars($img->getCustomImage(89, NULL, NULL, NULL, NULL, NULL, NULL, true)); ?>`
in comparison with this piece:
`<?php echo htmlspecialchars($img->getCustomImage(NULL, $iw, $ih, $cw, $ch, NULL, NULL, true)); ?>`

Comments

  • acrylian Administrator, Developer
    According to the svn log the last change on that theme was on 12/02, so right before 1.2.2. I think the first one is for a background image and just a 89px image uncropped. I am not familiar with this theme, so I don't know how that looked before 1.2.2...
  • Those two lines should be the same. The one for the next image is correct. This frames the image in a 35mm sized container which is the intent of the theme. But this cannot be the cause of the description problem.
  • fretzl Administrator, Developer
    But this cannot be the cause of the description problem...
    That's right. This was related to the thumbnail navigation ;-)
    Sorry I did not make that clear.
  • So, please describe the problem. I have not experienced any problems with thumbnail navigation. (BTW, this also cannot be the cause of a thumbnail navigation issue.)
  • fretzl Administrator, Developer
    The thumbnail navigation itself works perfectly.
    It's just that the image inside the previous-35mm slideframe is not the right size.
    It is overflowing the frame.

    When I indeed make the first line of code the same as the second everything is OK.
    Thanks.
Sign In or Register to comment.