Administrator
Administrator
fretzl   2008-12-13, 16:22
#1
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)); ?>`
Administrator
Administrator
acrylian   2008-12-13, 16:30
#2
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...
Member
Member
sbillard   2008-12-13, 19:18
#3
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.
Administrator
Administrator
fretzl   2008-12-13, 19:55
#4
[i]But this cannot be the cause of the description problem...[/i]
That's right. This was related to the thumbnail navigation ;-)
Sorry I did not make that clear.
Member
Member
sbillard   2008-12-13, 20:32
#5
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.)
Administrator
Administrator
fretzl   2008-12-13, 20:42
#6
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.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.