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
Hey!
First of all, thanks for the nice work. We used it in production, works great.
We used it in a situation it wasn't originally designed for, when images are loaded dinamically.
The function does have an implicit trust on all images being loaded for it to work, so I solved it by adding this code to the beforeAfter function:
$('.ba-slider > img:first').on('load', function() { var width_first_image = $('.ba-slider > img:first').width() + 'px'; cur.find('.resize img').css('width', width_first_image); });
I can make the pull request if you wish - just wanted to discuss and validate the solution first.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey!
First of all, thanks for the nice work. We used it in production, works great.
We used it in a situation it wasn't originally designed for, when images are loaded dinamically.
The function does have an implicit trust on all images being loaded for it to work, so I solved it by adding this code to the beforeAfter function:
I can make the pull request if you wish - just wanted to discuss and validate the solution first.
The text was updated successfully, but these errors were encountered: