Skip to content
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

Division by zero #157

Open
wdebusschere opened this issue Apr 15, 2017 · 1 comment
Open

Division by zero #157

wdebusschere opened this issue Apr 15, 2017 · 1 comment
Labels

Comments

@wdebusschere
Copy link

<img src="{$root}/image/2/500/0/5/images/1.png" />
OK

<img src="{$root}/image/2/500/0/5/images/1.png" />
Division by zero
500/0 parameter is very handy when displaying images in a lightbox

An error occurred in /Users/xxx/Sites/symphony/extensions/jit_image_manipulation/filters/filter.resizeandcrop.php around line 56
$dst_r = ($settings['meta']['width'] / $settings['meta']['height']);

In jit 1.44 this works perfect, in 2.00 not anymore

@nitriques
Copy link
Member

2.0 is not stable right now. Sorry. I'll fix it ASAP.
Can you try the ìntegration branch ?

@nitriques nitriques added the Bug label Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants