I'm using cycle to load images which work under the following css:
.bg { width: 100%; position: absolute; top: 0; left: 0; z-index: 5000; -ms-interpolation-mode: bicubic; } That make them look full browser in almost everycase. Pictures must have a common screen correlation to fill the gap: 800 X 600, 1024 X 768 etc. The problem is when proportions are not perfect, like 1024 X 683... In this case it would be fantastic to resize the pic proportionally to fit in the screen. I just wonder where exactly in the cycle.plugin code should I place the conditional: if($(window).heigth() > $(img).heigth()) { //RESIZE THE PIC PROPORTIONALLY ETC... } -- View this message in context: http://www.nabble.com/Cycle-plugin%3A-Fill-browser-heigth-and-width-with-images-tp24729038s27240p24729038.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.