Is there a way to re-size the images that are not on the page?
When I use a jQuery
$('selector').find('img').each(function(){ resize-code});
It only resizes the img's that are in the memory range, and on the page.
I call this code on the event :turning
Yet for users who only use the corner-drag this event seems not to fire until :turned.
You can see the improperly resized images and when turn completes they resize quickly,
its not a break in functionality, just a little unappealing.
Here is some resizing code hard coded for a specific 612 by 792 set of img's.
Is there a way to re-size the images that are not on the page?
When I use a jQuery $('selector').find('img').each(function(){ resize-code});
It only resizes the img's that are in the memory range, and on the page. I call this code on the event :turning
Yet for users who only use the corner-drag this event seems not to fire until :turned. You can see the improperly resized images and when turn completes they resize quickly, its not a break in functionality, just a little unappealing.
Here is some resizing code hard coded for a specific 612 by 792 set of img's.
function resizeMe(){ //width is bigger if ( $(window).width() < 1224 ){
$('#magazine').find('img').each(function(){ $(this).attr('width', imgW);
});//end each var imgH = ( ( 792 * imgW ) / 612 );
$('#magazine').turn('size',( imgW * 2 ), imgH ); $('#magazine').turn('resize');
}//end function resizeMe