Member
Member
ro4drunn3r   21-06-2008, 18:59
#1

Hello,

i installed today zenphoto. I put some picture to test on it. Hm, works fine, but there is a little bug? problem? with "Recent Images". Please look, and you can see... http://www.ro4drunn3r.de/zenphoto/

How can i fix that?

Best regards :]

EDIT:
I found the problem! If i change the language back to default (english), everything is fine.

Member
Member
sbillard   21-06-2008, 21:10
#2

You seem to have changed to Random Images. Do the Recent Images still have the problem when you are in German? Not sure why the language should make a difference, but if you will reset your site to show the problem maybe we can get to the bottom of it. (Can't reproduce it on my site.)

Member
Member
ro4drunn3r   22-06-2008, 08:02
#3

I changed back to german. Now you can see, it's not only with recent images.

Reset? How? :)

Administrator
Administrator
acrylian   22-06-2008, 08:34
#4

I took a look at the source code of the page. I found that the values of the images are not correctly:

You have this url on your site:
[img]/zenphoto/zp-core/i.php?a=windows-vista&i=Forest-Flowers.jpg&w=44,5&h=33,5&t=true[/img]

"w=44,5" and "h=33,5" likely cause the error. A comparison of the 1.1.6 theme version and the nightly/svn version shows that the 1.1.6 version has these values "44.5" and "33.5" hardcorded for the recent/random images. Somehow your server seems to turn the "." into a "," which causes the processing error. This might be the language difference you saw, since German uses an "," for numbers while english uses ".".

The svn/nightly theme version has the clean values "44" and "33" values. Please try to change that on the theme's index.php around line 80 and line 94.

Member
Member
ro4drunn3r   22-06-2008, 14:22
#5

Hi acrylian,

hehe, you are great! Now it works in german too. Thanks! :]

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