This is making me think maybe it's an issue in the way the data is being generated?
You are guessing right it's the way you are generating the fixtures that causes the problem. So try to do it like this instead:
for (i = 0, topvar = 0, left = 0 ; i<imgsLength ; i++, topvar += 10, left += 10) {
var image = {};
image.id = (i + 1);
image.href = "public/" + (i + 1) + ".jpg";
image.style = "top: " + topvar + "px; left: " + left + "px";
imgLinks.push(image);
}
You should also put the route you are linking to into quotes:
{{#each model}}
{{#linkTo 'image' this}}<div {{bindAttr style="style"}}><img {{bindAttr src="href"}}</div>{{/linkTo}}
{{/each}}
See here working jsbin.
Hope it helps.