Subtext 1.9.5 is being tested by our QA department and hopefully will be released soon.
One of the new features of the new version is the upgrade of the code scripting library for image display from Lightbox v1 to Lightbox v2, but unfortunately this introduces a breaking change. Lightbox v1 requires only the lightbox.js file, while version 2 requires 2 more libraries in order to work: scriptaculous and prototype.
So if you built a custom skin that uses Lightbox v1 you have to manually update its definition inside the skin.config or skin.user.config in order to make it work with the new version.
Almost 2 months ago I wrote a post on how to add Lightbox v2 to a custom skin, but now that this library is part of the core scripts it's even easier.
A skin definition using Lightbox v1 looks like this:
<SkinTemplate ... > <Scripts> ... <Script Src="~/scripts/lightbox.js" /> ... </Scripts> <Styles> ... <Style href="~/scripts/lightbox.css" /> ... </Styles> </SkinTemplate>
To migrate to Ligthbox v2 you have to include the following 2 script definitions inside the <Script> tag:
<Script Src="~/scripts/prototype.js" /> <Script Src="~/scripts/scriptaculous.js?load=effects" />
The final skin definition should be like that one:
<SkinTemplate ... > <Scripts> ... <Script Src="~/scripts/prototype.js" /> <Script Src="~/scripts/scriptaculous.js?load=effects" /> <Script Src="~/scripts/lightbox.js" /> ... </Scripts> <Styles> ... <Style href="~/scripts/lightbox.css" media="screen" /> ... </Styles> </SkinTemplate>
Hope this helps smoothing the migration process to the new version of Subtext 1.9.5. If you need assistance, just contact me or write a comment to this post.