Hey,
I have exactly the same problem, only taking it out of the theme directory doesn’t do the trick for me.
The strange thing is that whenever I look at the source, all looks ok. Even when I copy the source output into a static page it works.
https://2010.jurisverbeelding.nl/img_rotate/Image-rotator2.html
But not in a template.
https://2010.jurisverbeelding.nl/
Does anyone have a clue??