thanks a bunch ! It works.
Now i will start with playing around with formatting.
I would appreciate if you could append the example template with this hint you gave me here - maybe it will help others ?
DOM module is great and starting to get a better understanding about the classes and arrays. The thing I don't understand is the $player variable called in the gallery and the resources example. Any pointers on where I can find more about this. It wasn't working for me with the resouces.ss example. Do I need some kind of imagekit to get it working such as FFMPEG?
Also the VideoPage.SS example uses a few variables which made SS crash such as $CroppedImage. I'm pretty sure that is an FFMPEG problem but it is hard to know for sure or where to find out.
Appreciate all the help and what you have done for the community.