-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error, if zc=1 and RU locale #138
Comments
Actually the issue lies in phpthumb class when it generates command line for ImageMagick. In this chunk of code
This part gives either float(1.5) or float(1,5) depending on setted locale. So one of the option could be using number_format function. Probably Resulting line looks like this |
Please submit a pull request with your suggested modifications and I'll merge it. |
Please use setLocale (LC_ALL, "en_US.UTF-8")
If outer script set RU locale phpThumb (zc=1) generated broken image
The text was updated successfully, but these errors were encountered: