rem: ui_sethtml('image_view', '<iframe name="view" style="width:100%;height:100%" frameborder="0" src="'+document.getElementById('img_'+i).href+'"></iframe>'); 
add: ui_sethtml('image_view', '<iframe style="width:100%;height:'+(image_div.offsetHeight-4)+'px" frameborder="0" src="'+document.getElementById('img_'+i).href+'"></iframe>'); 
context: function image_show(i) { slide_reset(); image_index = i; if (data_iw[i] < 0) {  ui_sethtml('image_view', '<iframe name="view" style="width:100%;height:100%" frameborder="0" src="'+document.getElementById('img_'+i).href+'"></iframe>');  document.fit_size.className = document.full_size.className = 'off'; } else {  var s = image_fit(1);  ui_sethtml('image_view', '<img name="view" src="' + document.getElementById('img_'+i).href   + '" ' + s + ' onload="image_loaded()">'); } ui_sethtml('title', document.getElementById('title_'+image_index).innerHTML); toolbar_setbuttons(); if (slide_inprog && !slide_on && !slide_order) slide_inprog = 0;}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/550945a285e474dc84537d7df00f64ce003c8665/slider.js/buggy/gallery2/layouts/slider/templates/slider.js