This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Pages: 1 - Last Post: 11 Oct 26, 09:54 Last Post By: Laza Threads: [ Previous | Next ]
breisachers

Posts: 17
Registered: 20-Jan-2025
web location not working
Posted: 10 Oct 26, 16:11
 
  Click to reply to this thread Reply
I have a project with multiple folders. Plain skin, nothing unusual. I want to include a 'web location' that points to an ordinary URL. At the top level, alongside the existing folders, I do NewPage/WebLocation, then I fill in the Target URL and the image URL and click Update. Then I make the album and publish (or preview). There is an item for the web location on the published page, but when I click it, I get a 404. When I hover over the item, the URL is not at all what I entered in the Target URL field - it looks like the URL ends with "/undefined". I see a .webloc file in the jalbum files, and inside that the URL looks correct (under xml element /plist/dict/string). I'm using jAlbum 39.10 on Windows with latest Chrome browser. What am I doing wrong?
RobM

Posts: 4,223
Registered: 4-Aug-2006
Re: web location not working
Posted: 10 Oct 26, 16:16   in response to: breisachers in response to: breisachers
 
  Click to reply to this thread Reply
Have you tried using another skin? If it works with say, Atom skin, then it is a skin problem.

Link to album https://breisachers.jalbum.net/National%20Parks%20trip%2C%20Sept%202026/
JeffTucker

Posts: 8,907
Registered: 31-Jan-2006
Re: web location not working
Posted: 10 Oct 26, 16:18   in response to: breisachers in response to: breisachers
 
  Click to reply to this thread Reply
Make sure you're entering a full, absolute URL, like:

https://jefftucker.jalbum.net/skins/

Don't leave off the "https" part.

Paste just that URL in, then hit Update - in other words, let it try to extract a thumbnail image for the web location. Once that's done, you can then click the folder icon to the right of the Image URL field, navigate to an image you want to use, and then hit Update. Or copy and paste the full, absolute URL to the image you want to use, then hit Update.
JeffTucker

Posts: 8,907
Registered: 31-Jan-2006
Re: web location not working
Posted: 10 Oct 26, 16:21   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Just did some more testing, and this looks like a skin bug. I'll move this thread to the Plain forum section.

ETA: Some more testing, and it works properly if you tell the skin to put web locations above the thumbnails, or at the top of the page. It fails when it puts them in the sidebar, instead.
breisachers

Posts: 17
Registered: 20-Jan-2025
Re: web location not working
Posted: 10 Oct 26, 21:04   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I tried Tiger skin and indeed it works. Thanks.
RobM

Posts: 4,223
Registered: 4-Aug-2006
Re: web location not working
Posted: 10 Oct 26, 22:31   in response to: breisachers in response to: breisachers
 
  Click to reply to this thread Reply
breisachers wrote:
I tried Tiger skin and indeed it works. Thanks.
We, Jeff and myself, say to try a non-bundled skin like Atom because the bundled skins may contain common code. It depends on the skins and functions.
Laza

Posts: 1,627
Registered: 6-Sep-2005
Re: web location not working
Posted: 11 Oct 26, 09:53   in response to: breisachers in response to: breisachers
 
  Click to reply to this thread Reply
Attachment util.js (212.4 KB)
I've fixed this bug. Replace util.js (attached) in the "lib" folder of the skin directory (Ctrl-Shift-S).

(This bug only affects Plain and Peacock skins, and only when the web location is used in the sidebar.)

Edited by: Laza on 11 Oct 2026, 09:53
Legend
Forum admins
Helpful Answer
Correct Answer

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