|
Replies:
19
-
Pages:
2
[
1
2
| Next
]
-
Last Post:
28 Apr 26, 16:07
Last Post By: JeffTucker
|
|
|
Posts:
1,500
Registered:
6-Sep-2005
|
|
|
|
Testing "Embed skin"
Posted:
21 Apr 26, 18:31
|
|
|
The new Embed skin was designed to allow people to embed entire albums on other web pages. It is using the GLightbox component, which is free for both personal and commercial use.
This is a sample page with embedded album: https://laza.jalbum.net/Tiger%20%28Embed%29/embed-test.html
Feedback is welcome.
Beta 2
I have added 4 more styles, made proportional thumbnails work, and hopefully fixed the bugs you've noted.
Sharp release available at https://jalbum.net/skins/skin/Embed
|
|
|
Posts:
864
Registered:
13-Apr-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 18:45
in response to: Laza
|
|
|
Feedback is welcome.
Hi Laza,
just a stupid question. What is the benefit with using the „Embed“ skin instead let's say use a „Tiger“ skin album-of-album with just „web locations“?
|
|
|
Posts:
3,952
Registered:
4-Aug-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 20:08
in response to: Laza
|
|
|
I'm getting the following on some projects, having first deleted the local and published albums: Skin loading: 0.132s
Missing text: "Folders"
Missing text: "Thumbnails"
Missing text: "Images"
Skin loading: 0.165s
***** Error processing Sample Portfolio (make): *****
se.datadosen.util.ScriptException: java.io.FileNotFoundException:
/Users/robert/My Albums/Samples/Sample Portfolio/album/res/jalbum-gallery.js
(No such file or directory) in init.bsh at line number 165
I assume , given it's a beta, you know about the missing texts.
Edited by: RobM on 21 Apr 2026, 19:30
embedding code not shown due to an unrelated bug when signed out.
|
|
|
Posts:
3,952
Registered:
4-Aug-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 20:40
in response to: Laza
|
|
|
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 21:27
in response to: RobM
|
|
|
Still using BeanShell?
This skin has an interpreted onload, and the last time I tried to do that with Groovy, I ran into all kinds of problems. It got especially interesting if I tried to include a customUI.
The bigger question is why anyone would be doing an interpreted onload. There are only three others in the current skins roster: CA2, Minimal, and Zigzag.
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 21:43
in response to: Laza
|
|
|
|
One little tip for anyone tinkering with this skin: the parent page and the embedded album must reside on the same domain. Otherwise, CORS errors cause the embedded album to "pop out" of the parent page.
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 21:48
in response to: RobM
|
|
|
I'm getting the following on some projects, having first deleted the local and published albums: Skin loading: 0.132s
Missing text: "Folders"
Missing text: "Thumbnails"
Missing text: "Images"
Skin loading: 0.165s
I see that console error when simply loading the skin, with no current project.
|
|
|
Posts:
3,952
Registered:
4-Aug-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 22:07
in response to: JeffTucker
|
|
|
I'm getting the following on some projects, having first deleted the local and published albums: Skin loading: 0.132s
Missing text: "Folders"
Missing text: "Thumbnails"
Missing text: "Images"
Skin loading: 0.165s
I see that console error when simply loading the skin, with no current project.
Yes, I just didn't delete those from the console but saw the error message and just copied the lot.
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
21 Apr 26, 22:45
in response to: MarkusD
|
|
|
just a stupid question. What is the benefit with using the „Embed“ skin instead let's say use a „Tiger“ skin album-of-album with just „web locations“?
A user might want to embed an album on a page that is utterly unlike anything produced by jAlbum - maybe a lot of text, extensive shopping options, interactive games, whatever.
Using an album of albums is fine if the parent page can be produced by a jAlbum skin, but most sites can't be produced that way.
|
|
|
Posts:
1,500
Registered:
6-Sep-2005
|
|
|
|
Re: Testing "Embed skin"
Posted:
22 Apr 26, 06:17
in response to: MarkusD
|
|
|
|
This skin extends the usability of jAlbum. We've seen many users who want to embed albums into their pages, but using traditional IFrame/Frameset methods results in a poor user experience. It's similar to the old Responsive skin, but this one is modern, able to handle multi-level albums and all kinds of content. (Or will be able to.)
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
23 Apr 26, 00:31
in response to: Laza
|
|
|
|
Just tinkering, and I've found a couple of settings glitches. If I tell it to display the title on a thumbnail, it always shows the file name if there is no title. The File name (if missing) choice seems to have no effect, one way or the other. The same is true for the choice for the slide caption.
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
23 Apr 26, 00:35
in response to: JeffTucker
|
|
|
|
Another one. If I enter a Link to external home page, it does use that URL as the target of the "up" arrow on the top level. But it's not using the entered Text as the tooltip - it always says "One level up," even if I've entered "Visit my wonderful site!"
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
23 Apr 26, 00:42
in response to: JeffTucker
|
|
|
|
Just a suggestion: I think I'd default the border-radius to 3px instead of 8px - just enough to knock the sharp edges off. iOS users seem to be perfectly happy with the wider radii of yesteryear, but they're very dated.
I also suspect that users are going to want to have a way to shut off the image count in the footer. The ones on the folder thumbnails can be enabled/disabled, but apparently not the footer count.
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
23 Apr 26, 16:47
in response to: Laza
|
|
|
Beta 2
I have... hopefully fixed the bugs you've noted.
The caption choice logic tests correctly now, and the external link tooltip is grabbing the text it should.
Good addition of footer choices, but where is the skin looking to pick up Author?
|
|
|
Posts:
8,297
Registered:
31-Jan-2006
|
|
|
|
Re: Testing "Embed skin"
Posted:
23 Apr 26, 16:57
in response to: JeffTucker
|
|
|
My code validator isn't happy with these: <div slot="folders">
<div slot="images">
I'm guessing those are there to provide JS targets. To avoid validation trouble, they would need to be prefixed with "data-", to indicate that they're private: <div data-slot="folders">
<div data-slot="images">
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|