1; 2jQuery(function( $ ) { 3 4 "use strict"; 5 // get all image from the page 6 7 let image = $('img'); 8 9 if(image.length > 0) { 10 11 image.each(function(){ 12 13 let imgHeight = $(this).height() === 0 ? iahw_get_size.height : $(this).height(); 14 let imgWidth = $(this).width() === 0 ? iahw_get_size.width : $(this).width(); 15 16 if(typeof $(this).attr('width') === 'undefined') { 17 $(this).attr('width', Math.round(imgWidth)); 18 } 19 20 if(typeof $(this).attr('height') === 'undefined') { 21 $(this).attr('height', Math.round(imgHeight)); 22 } 23 24 }); 25 } 26 27});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.