Just getting up and running... I am using the iipsrv.fcgi with apache2 +
iipmooviewer and all is well except that when the image is first loaded, or
zoomed out fully, the image loading hangs and two tiles that are from the left
side of the image are "appended" to the right of the image. (I made the images
I have a demo at https://rapd.nec.aps.anl.gov/rapd/iipimage/iipmooviewer.html
Thanks in advance!
You seem to have CSS turned off.
Please don't fill out this field.
Yes, sorry, this is due to a rounding error bug in the calculation of the
resolution sizes! I hope to release a new version of IIPMooViewer soon.
Otherwise I will try to patch the current version.
Thanks for the quick reply. Is there any way I can alleviate the problem by
choosing appropriate image dimensions, etc?
Try looking in the iipmooviewer-1.1.js file for the loadGrid() function. Then
simply replace the equivalent lines with this:
// If our size is smaller than the display window, only get these tiles!
var len = this.rgn_w;
if( this.wid < this.rgn_w ) len = this.wid;
var endx = Math.ceil( ((len + this.rgn_x)/this.tileSize) - 1 );
len = this.rgn_h;
if( this.hei < this.rgn_h ) len = this.hei;
var endy = Math.ceil( ( (len + this.rgn_y)/this.tileSize) - 1 );
I hope that fixes it!
Thanks for the fix - it solved the problem.
Sign up for the SourceForge newsletter: