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


Permlink Replies: 13 - Pages: 1 - Last Post: 7 Mar 20, 13:23 Last Post By: ufalbum
ufalbum

Posts: 69
Registered: 2-Aug-2010
Link to an URL within the same album
Posted: 18 May 19, 13:24
 
  Click to reply to this thread Reply
I want to add an addional page where the recently added or updated folders in an album with subfolders are linked. Until now, I used Webloc pages which seem to require a fully qualified URL, even if they reside on the same server or the same album. Imagine the base address of my server (Subdomain, domain) will be changed for any reason then there is a lot to do. Is there a way to create a page using only relative links?

Further a Webloc page cause an other problem during configuration:.
Inserting the external full qualified URL will first automatically select the appropriate folderimage.jpg if the URL contains such an image. This is a possible solution, but the folderimage is a very wide but low image which leads to cropping and zooming of a possibly unwished detail of the folderimage (e.g. a face of 1 person among many persons).
I know that I can select another image, even from my local PC's file system. But the selection in Windows is boring, because the file manager always begins from the beginning.

Is there a better way to create such a page with folders of the same album?
Ulli
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: Link to an URL within the same album
Posted: 18 May 19, 13:31   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
You can use relative URL's for a web location.
ufalbum

Posts: 69
Registered: 2-Aug-2010
Re: Link to an URL within the same album
Posted: 18 May 19, 13:55   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Help!
which syntax for the relative URL?
Example:
https://webalben.rezkonv.de/albums/s21_act_tiger/album/index.html

The folder containig the weblocs is 'Neueste' - newest
https://webalben.rezkonv.de/albums/s21_act_tiger/album/neueste/index.html

The first entry is 'Impressionen 2019, ab April"
https://webalben.rezkonv.de/albums/s21_act_tiger/album/impressionen/impressionen2019p2/index.html

Is it ../impressionen/impressionen2019p2/index.html ?
Actualize does't work.
RobM

Posts: 3,815
Registered: 4-Aug-2006
Re: Link to an URL within the same album
Posted: 18 May 19, 14:25   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
See the help page Explore>The Toolbar>Web locations it includes a link to W3.org relative url help page.
AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
Re: Link to an URL within the same album
Posted: 18 May 19, 16:53   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
Why don’t you just use a tree of folders? In that case you don't need weblocations. See here for an example.
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: Link to an URL within the same album
Posted: 18 May 19, 23:23   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
I think you might have fewer problems with relative URL's if you simplified your site structure, and got rid of the unnecessary directory layers.

You're using a subdomain called webalben.rezkonv.de, which would indicate that this contains web albums. So why do you need a layer below that called albums? And then there's a directory for each album - why is there an album subdirectory below that?

Things would be much simpler if you adopted a leaner structure:
webalben.rezkonv.de
- s21_act_tiger
-- index.html
-- res
-- slides
-- thumbs
- stuttgart21
-- index.html
-- res
-- slides
-- thumbs
(...usw.)
ufalbum

Posts: 69
Registered: 2-Aug-2010
Re: Link to an URL within the same album
Posted: 19 May 19, 13:58   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM,

thank you, now it works
see: https://webalben.rezkonv.de/albums/s21_act_tiger/album/
(Thumbnails 4...6 of 6)

Two less severe disadvantages: The relative link doesn't work during preview and the thumbnail image is not shown, but replaced with a (X). After an upload it works.

Regards
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: Link to an URL within the same album
Posted: 19 May 19, 14:01   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
ufalbum wrote:
Two less severe disadvantages: The relative link doesn't work during preview and the thumbnail image is not shown, but replaced with a (X). After an upload it works.

The relative links will work if the structure of your albums on your PC is the same as the structure of your albums on the server. Usually, that's not true, because the default jAlbum setup is to put the output directory under the project directory, but it is possible to set up your PC so that it mimics the server structure.
ufalbum

Posts: 69
Registered: 2-Aug-2010
Re: Link to an URL within the same album
Posted: 19 May 19, 14:01   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Why don’t you just use a tree of folders?
Thank you Andre. But in my case, where this special folder changes often it is not that what I want.
Regards
Ulli

Edited by: ufalbum on 19-May-2019 14:02
ufalbum

Posts: 69
Registered: 2-Aug-2010
Re: Link to an URL within the same album
Posted: 19 May 19, 14:23   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
You're using a subdomain called webalben.rezkonv.de, which would indicate that this contains web albums. So why do you need a layer below that called albums? And then there's a directory for each album - why is there an album subdirectory below that? Things would be much simpler if you adopted a leaner structure:
jGromit,
you are right!
With 'albums' It is a historical problem, and with 'album' which contains the index.html it is easier to upload with filezilla, because then I have only to upload the whole directory. Furthermore the links are distributed to my viewers who look for
https://webalben.rezkonv.de/albums/stuttgart21/album/ with the obsolete Turtle design. As soon as I switch to the new Tiger design, which currently can be found there: https://webalben.rezkonv.de/albums/s21_act_tiger/album/index.html it should be found at the known URL. But you ar right, perhaps I should really omit albums and album in the future.

Regards
Ulli
ufalbum

Posts: 69
Registered: 2-Aug-2010
Re: Link to an URL within the same album
Posted: 19 May 19, 15:00   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
The relative links will work if the structure of your albums on your PC is the same as the structure of your albums on the server.
jGromit,
the structure of the PC and the server is the same, but I dont't upload the project directory but only the resulting folder 'album' to the server. May be that is the reason that it doesn't work with the internal browser of jAlbum (during preview) after making the album, and the folderimage is not shown after 'actualize' in jAlbum's explorer, but replaced with a (X) icon. In the webloc's setup window, the folderimage disapeears as soon I click 'actualilize'

Please refer to the album
https://webalben.rezkonv.de/albums/s21_act_tiger/album/
and the last (6th) thumbnail. It leads to another album of the project list which is located in 'albums' of my PC: https://webalben.rezkonv.de/albums/s21_2010-2014/album/
In the webloc definition I defined the target URL as: "../../s21_2010-2014/album/"
This works in the uploded albums, but not during preview.

Regards
AndreWolff

Posts: 1,289
Registered: 14-Dec-2007
Re: Link to an URL within the same album
Posted: 19 May 19, 15:48   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
ufalbum wrote:
But in my case, where this special folder changes often it is not that what I want.
If only the special folder changes and you use the jAlbum uploader, the whole tree will upload fast because the unchanged files are not uploaded again.
JeffTucker

Posts: 8,039
Registered: 31-Jan-2006
Re: Link to an URL within the same album
Posted: 19 May 19, 16:21   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
Attachment FileZilla.png (25.2 KB)
Attachment plutoDark.png (73.4 KB)
ufalbum wrote:
the structure of the PC and the server is the same, but I dont't upload the project directory but only the resulting folder 'album' to the server.

That's not exactly what I mean. Let me see if I can explain....

Take my jAlbum skin demo website, https://jgromit.com. On my PC, I have exactly the same tree structure. See the FileZilla screenshot, attached.

But are the demo album projects located on the tree on my PC? No. They are elsewhere on the PC. On the PC, the tree contains only the output of the demo projects.

Take, for example, the Pluto/dark demo album. On the PC, the album project is located at C:\Users\jefft\Documents\jAlbum Skins\Pluto\Pluto Samples\dark. But the output of that project is pointed to C:\Users\jefft\Documents\jGromit\pluto\dark. See the plutoDark screenshot.

Think of it as being like having ten boxes of Xmas tree ornaments (the album projects), scattered all over the floor. You take out an ornament (the project output), and hang it on the tree where you want it.

So, when it comes time to upload, I can just upload the tree from my PC. The input side of the album projects isn't mixed in with it - the tree contains only the output.
ufalbum

Posts: 69
Registered: 2-Aug-2010
Re: Link to an URL within the same album
Posted: 7 Mar 20, 13:23   in response to: ufalbum in response to: ufalbum
 
  Click to reply to this thread Reply
Hi, I want to relaunch my request, because I think it could be much easier if the link points to a folder of the same album instead of using a new page with a web location. Although it is clear where the link to this folder resides in the uploaded album I first have to create an update of the album then uploading it to my server, before I can create a new page with the web location within the album because this works only with existing web links. Then I have to make the album again, because it has changed and to upload it again.
Further it is really not easy to select a folder image of the folder which is different from the folderimage.jpg of the web location which is the default.
Please refer to
https://webalben.rezkonv.de/albums/stuttgart21/album/ and then to
Neueste Alben und Ergänzungen (Newest albums and add-ons)
https://webalben.rezkonv.de/albums/stuttgart21/album/newest/index.html
to understand what I mean.
Best regards from your jAlbum fan
Ulli
Legend
Forum admins
Helpful Answer
Correct Answer

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