This question is answered.


Permlink Replies: 6 - Pages: 1 - Last Post: 22 Feb 24, 15:54 Last Post By: JeffTucker Threads: [ Previous | Next ]
Tmroz4560

Posts: 6
Registered: 20-Feb-2024
Question regarding local location of jAlbum files
Posted: 22 Feb 24, 05:00
 
  Click to reply to this thread Reply
Brand new user to jAlbum so sorry for the newbie question.

I built and album using the Tiger screen. Did a preview and it's great (I plan on publishing to my existing website). But I'm confused on where the files are stored locally. In jAlbum, if I go to Album, and launch the index.html file, in the browser it gives be a shell of the gallery, but only 20 images and the slideshow button doesn't work. Same thing if I launch index.com from file explorer. Trying to figure out where all the files are stored locally. I understand that FTP can work from jAlbum, but if I choose to use FileZilla, I'd like to know what files to upload.

Thanks
JeffTucker

Posts: 7,956
Registered: 31-Jan-2006
Re: Question regarding local location of jAlbum files
Posted: 22 Feb 24, 08:34   in response to: Tmroz4560 in response to: Tmroz4560
Correct
  Click to reply to this thread Reply
Tmroz4560 wrote:
...if I go to Album, and launch the index.html file, in the browser it gives be a shell of the gallery, but only 20 images and the slideshow button doesn't work.

It's not that the files aren't where they're supposed to be. It's that a browser will refuse to open them locally. See this sticky thread:

https://jalbum.net/forum/ann.jspa?annID=213

I understand that FTP can work from jAlbum, but if I choose to use FileZilla, I'd like to know what files to upload.

You need to upload everything that's in the project's output directory - Tools > Open Directories > Output directory.

But while you can certainly use FileZilla, I would strongly urge you to use the jAlbum uploader. The first time it uploads a finished album, it will take about the same length of time as FileZilla. But because the uploader uses a manifest file, if you make any changes to the album - adding a few images, selecting different skin options, changing styles, or changing the skin - the jAlbum uploader will be an order of magnitude (or more) faster. If you're just adding a few images to a large album, it can be hundreds of times faster.

The uploader also cleans up after changes. So, if you remove some images from the project, or if a change of settings or skins yields a different batch of resource files, the uploader automatically removes, from the server, the files that are no longer needed.
Tmroz4560

Posts: 6
Registered: 20-Feb-2024
Re: Question regarding local location of jAlbum files
Posted: 22 Feb 24, 15:16   in response to: Tmroz4560 in response to: Tmroz4560
 
  Click to reply to this thread Reply
Thank you. So if I understand correctly, the website cannot be viewed locally except within jAlbum F12? But once uploaded to to my external hosting, it will be viewed correctly.

Also thanks for the tips on the FTP upload. I think I understand it much better and plan to use jAlbum.
JeffTucker

Posts: 7,956
Registered: 31-Jan-2006
Re: Question regarding local location of jAlbum files
Posted: 22 Feb 24, 15:18   in response to: Tmroz4560 in response to: Tmroz4560
 
  Click to reply to this thread Reply
Tmroz4560 wrote:
Thank you. So if I understand correctly, the website cannot be viewed locally except within jAlbum F12? But once uploaded to to my external hosting, it will be viewed correctly.

That's pretty much correct. This only applies to the JSON-driven skins, of course - there are other skins that don't use JSON files, and those can be viewed locally without any messing around.

It's possible to turn off the security in your browser, but that leaves you open to all sorts of nasty stuff out in the wild.
davidekholm

Posts: 3,648
Registered: 18-Oct-2002
Re: Question regarding local location of jAlbum files
Posted: 22 Feb 24, 15:43   in response to: Tmroz4560 in response to: Tmroz4560
 
  Click to reply to this thread Reply
Try the "Plain" skin. It's not JSON driven. There are in fact only a small fraction of skins that are JSON driven in order to achieve the search and filter ability (Tiger, Story and PhotoBlogger for instance)
JeffTucker

Posts: 7,956
Registered: 31-Jan-2006
Re: Question regarding local location of jAlbum files
Posted: 22 Feb 24, 15:46   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
Try the "Plain" skin. It's not JSON driven.

For reasons that escape me, Plain albums can't be previewed locally, either, despite the fact that they're not JSON based.

ETA: They produce a CORS violation.
JeffTucker

Posts: 7,956
Registered: 31-Jan-2006
Re: Question regarding local location of jAlbum files
Posted: 22 Feb 24, 15:54   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Naturally, all of my excellent skins work properly, no matter how the local preview is triggered. :)

https://jefftucker.net/
Legend
Forum admins
Helpful Answer
Correct Answer

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