We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When source image has large size, sometimes image is displayed stretched. The issue seems to be caused by the following code:
var $zoom_widget = $('<div class="jrac_zoom_slider"><div class="ui-slider-handle"></div></div>') .slider({ value: $image.width(), min: settings.zoom_min, max: settings.zoom_max, start: function(event, ui) { $.extend($zoom_widget,{ on_start_width_value: ui.value, on_start_height_value: $image.height() }) }, ...
when image width is larger than zoom_max, corresponding height is calculated incorrectly when slider is toggled. Changing
on_start_width_value: ui.value
to
on_start_width_value: $image.width()
fixed the issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When source image has large size, sometimes image is displayed stretched. The issue seems to be caused by the following code:
when image width is larger than zoom_max, corresponding height is calculated incorrectly when slider is toggled. Changing
to
fixed the issue.
The text was updated successfully, but these errors were encountered: