twentytwenty - Responsive image inside bootstrap modal - not showing until I resize the window -


i'm using twentytwenty jquery library allow me have 2 images before , after slider, , want display these inside bootstrap modal.

however once click on thumbnail image open modal, image doesn't display in modal until resize browser (i can resize 1px , it'll display straight after).

i've tried using window.dispatchevent(new event('resize')); browser calculate height required image, isn't working. there function in javascript (or jquery) force browser display image?

the page here:

http://turfectsolutions.chrisstclair.co.uk/gallery/

thanks! :)


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -