Permlink Replies: 1 - Pages: 1 - Last Post: 26 Oct 23, 10:42 Last Post By: Laza
JeffTucker

Posts: 8,102
Registered: 31-Jan-2006
Plain requires embedded server
Posted: 23 May 23, 22:46
  Click to reply to this thread Reply
Not a question or a bug report, just a "head up" for users of the Plain skin....

While it's not a JSON-based skin, it does, like them, require the use of the jAlbum embedded server for local previews, because of the way the Photoswipe script is being invoked. If you run the preview by simply double-clicking the index.html file, the lightbox script fails to load because of a CORS violation. Then when you click on a thumbnail, you get the raw slide image, with no navigation.

Easy enough to stay out of trouble - I leave the jAlbum preferences set this way all the time:

Laza

Posts: 1,631
Registered: 6-Sep-2005
Re: Plain requires embedded server
Posted: 26 Oct 23, 10:42   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
Yes, modern JS loads the JS libraries on-demand only, like the PhotoSwipe lightbox. I can make it into unconditional loading though; lightbox is needed almost every time besides the custom pages.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums