I don't know if there's something wrong in my tiltviewer.php but images are still loading twice.
In "best photos" category I have 66 images, settings for viewer.html are 5rows and 5columns.
I have already tryed to put in LIMIT this numbers: 0, 66 - 0, 25 - 0, 75 - 0, 150.