I use bootstrap to display images.
How to just make Twitter Bootstrap modal bigger?
I use the code from a ( related ) question:
$('#myModal').modal({ backdrop: true, keyboard: true, show: false }).css({ // make width 90% of screen 'width': function () { return ($(document).width() * .9) + 'px'; }, // center model 'margin-left': function () { return -($(this).width() / 2); } });
But here is the result:

I need to scroll it. How to save image ratio and show it without scrollbar?
source share