Such version differences should be reported over in Report An Issue as a possible bug so that the FileMaker Techs can take a look at it and confirm whether or not there is a bug involved.
I just thought of this, did you change the field reference to reference your container field? Below is the very bottom of the code and the Red text is where it references the container field to pull in the image.¶ image.src = \"" & test::G_script_photo & "\";¶ document.getElementById(\"body\").appendChild(e);¶ e.className = \"pan\";¶¶ alphaSlider.appendTo(\"alphaSliderDiv\");¶ sizeSlider.appendTo(\"sizeSliderDiv\");¶¶ pan.viewportPercent = sizeSlider.knobPercent * SIZE_MAX;¶ pan.panCanvasAlpha = alphaSlider.knobPercent * ALPHA_MAX;¶¶ sizeSpan.innerHTML = pan.viewportPercent.toFixed(0) + \"%\";¶ alphaSpan.innerHTML = (pan.panCanvasAlpha * 100).toFixed(0) + \"%\";¶¶ alphaSlider.draw();¶ sizeSlider.draw();</script>¶ </body>¶¶</html>"
Yes I did change the reference on my own test layout. it would not suprise me if I have done something wrong with my layout but I downloaded your link and it is displaying the same behaviour.
One thing that caught my attention was your file ended in _old. I thought maybe it was an older test? or am I thinking too much :)
As soon as I can confirm that I haven't messed something up with the code I will put in a report.
No that is a working file, I just had it named that when I converted it.
Just installed FM12
I am getting the same results from the test file as I get in FM13
No idea what I am doing wrong :(