This question is answered.


Permlink Replies: 17 - Pages: 2 [ 1 2 | Next ] - Last Post: 16 Mar 23, 17:45 Last Post By: JeffTucker Threads: [ Previous | Next ]
snjohnsen

Posts: 10
Registered: 13-Jan-2009
JAlbum uploads everything in the album each time
Posted: 8 Mar 23, 00:39
 
  Click to reply to this thread Reply
Hi
I am not sure if I am missing something in the upload process but every time I do an upload regardless of how many new images there are the program uploads everything again.

At the moment I have it processing just over 116 MB of data which has another 8 minutes to go on my really slow broadband connection. I seem to remember that in the past it just uploaded any new files in the album.

When I make the album locally it does it in seconds. I am not expecting the same speed when I upload the same album but there is another 4 minutes to go before it is finished.

I am using the latest version of JAlbum and the Tiger skin.

JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 8 Mar 23, 00:52   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
The jAlbum uploader should, indeed, upload only new or changed files. Make sure you're not doing something that results in all-new images being created, like choosing Force Remake.

After making the album, but before uploading it, open the output directory and take a look at the time stamps on the files, especially those in the slides and thumbs subdirectories. If they're "new," you must be doing something to cause that, like changing image bounds.
snjohnsen

Posts: 10
Registered: 13-Jan-2009
Re: JAlbum uploads everything in the album each time
Posted: 9 Mar 23, 15:48   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
Not sure who I am following here, but in answer to the first response I just use the basic JAlbum settings, I am not even sure what a Force Remake is. All I do is click on the Make Album button to create a local version of the album and check that the layout is okay and then click the Upload button to upload the album. One takes seconds and the other takes between 20 to 30 minutes on my broadband. The album referred to contains just over 200 images and the file sizes are not very big. The time it takes is obviously going to increase as more images get added to the album which is why I asked the question in the first place because it never used to happen with albums that were a lot larger.
JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 9 Mar 23, 16:09   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
I suspect David will be in touch. We've seen one or two reports of this happening, but have never been able to reproduce it, so the cause is very mysterious. All the more mysterious, as it appears that you're hosting on jalbum.net. That rules out a bunch of the usual suspects.
davidekholm

Posts: 3,711
Registered: 18-Oct-2002
Re: JAlbum uploads everything in the album each time
Posted: 9 Mar 23, 17:31   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
Just hitting "Make album" is what we recommend, and it should be safe. Try hitting "Make album" again, then directly followed by "Upload". Is it uploading everything again now?
snjohnsen

Posts: 10
Registered: 13-Jan-2009
Re: JAlbum uploads everything in the album each time
Posted: 12 Mar 23, 01:19   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Hi
Okay, so I did as you suggested and clicked the Make Album button and then the Upload button with no additional images added since the last time. No problems, the Make Album and Upload were done in seconds.
I then added two images to one of the folders, they are 472 kb and 459 kb in size and clicked the Make Album button. It took seconds to process, I then clicked the Upload button and I am into a full upload of the complete album, 47.7 MB in total which did not seem to take as long as last time but it wasn't obviously just the two images being uploaded.
JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 12 Mar 23, 01:21   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
Remember, the upload information window shows you the size of the total album, not the size of the files that it's actually going to upload. It doesn't know that until it's made the connection and accessed the manifest file that's sitting on the server.
JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 12 Mar 23, 01:25   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Also bear in mind that if you're using a JSON-driven skin, like Tiger, it's not just the two new images that have to be uploaded. Because there are new objects in the project, the JSON files for the album will also be new, and will have to be uploaded. These might be quite large if the project is a big one.

ETA: And there's also a new lifeboat file, which will also be fairly large for a large project. Don't succumb to the temptation to turn off the lifeboat file - that's a decision that will come back to haunt you. ;)
RobM

Posts: 3,950
Registered: 4-Aug-2006
Re: JAlbum uploads everything in the album each time
Posted: 12 Mar 23, 09:39   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Also bear in mind that if you're using a JSON-driven skin, like Tiger, it's not just the two new images that have to be uploaded. Because there are new objects in the project, the JSON files for the album will also be new, and will have to be uploaded. These might be quite large if the project is a big one.

ETA: And there's also a new lifeboat file, which will also be fairly large for a large project. Don't succumb to the temptation to turn off the lifeboat file - that's a decision that will come back to haunt you. ;)

Also, if one of Laza’s skin’s ‘Offer download as ZIP’ is selected, the zip files too have to be uploaded after each make.
davidekholm

Posts: 3,711
Registered: 18-Oct-2002
Re: JAlbum uploads everything in the album each time
Posted: 13 Mar 23, 11:46   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
Can you pass a link to the uploaded album?
snjohnsen

Posts: 10
Registered: 13-Jan-2009
Re: JAlbum uploads everything in the album each time
Posted: 13 Mar 23, 23:16   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
Hi Guys
I know that you are trying to be helpful and I can see the upload process happening when I click upload but the whole point of my original question was does JAlbum upload everything every time I click on Upload from your responses it seems that it does. Or at least, it uploads the images plus all the other files you mentioned, which takes a very long time on my system.

On the features page of the JAbum website, it says that it is not uncommon to find galleries with 10,000 to 100,000 images. My present gallery contains 231 images so you might understand my problem.

At the end of last year, I uploaded a gallery that took so long I went to bed. I haven't a clue how long it took but it was okay the next morning and it contained nowhere near the numbers quoted on the features page.

I am guessing the link you want is the one on JAlbum.net
https://gallery.jalbum.net/en/browse/user/album/2067987
The album from last year is this one
https://gallery.jalbum.net/en/browse/user/album/2033510
JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 13 Mar 23, 23:59   in response to: snjohnsen in response to: snjohnsen
 
  Click to reply to this thread Reply
We've just been trying to rule out the usual red herrings.

I have a large family album with almost 5000 images and videos. When I add a few new objects, the album build takes under 30 seconds, and the upload takes even less time than that.

What you're describing has all the earmarks of a hardware problem. I've seen it myself. I was once experiencing terrible uploading problems, and was blaming my web host. But getting a new cable modem cured it instantly. Downloads were fine, but uploads were a disaster.

Just recently I found that I wasn't getting the upload speed my ISP was promising, and that I had been getting with no problem until recently. Album uploads seemed to stall part-way through. Long story, but it turns out the Ethernet port on my PC is defective. As with the cable modem, downloads were find, but uploads were grinding to a halt.

Time to do some debugging. ISP's are usually amenable to swapping out the cable modem, as long as it spares them from having to "roll a truck." See if they'll do that.

If your PC is hard-wired to the router, try using WiFi instead (that's what's getting me by at the moment - it's slightly slower than a direct Ethernet connection, but good enough).
JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 14 Mar 23, 00:01   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Oh, and do some testing. If you're on Windows, install this app and see what it produces:

https://www.speedtest.net/apps/windows

macOS version:

https://www.speedtest.net/apps/mac
davidekholm

Posts: 3,711
Registered: 18-Oct-2002
Re: JAlbum uploads everything in the album each time
Posted: 14 Mar 23, 10:21   in response to: snjohnsen in response to: snjohnsen
Correct
  Click to reply to this thread Reply
Thanks for providing the album link. I now think I know why it takes so much time, even if you only add 2 images:

You have "Album Settings - Tiger - Site - Download - Offer download as ZIP for" set to "Originals". This causes jAlbum to produce a zip file of all original files. It's probably the uploading of this huge zip file that causes the slow uploads. Perhaps you can consider only offering a select few images for original download OR the scaled down images only? The options are there.

Here's how I discovered this:
1) I opened a dummy project within jAlbum
2) I selected File->"Import->Settings from published album"
3) Now I hit CTRL+SPACE and typed "download" to be taken to the download options of Tiger (faster then navigating manually)
4) I now saw that this option was set to "Originals"

There is another workaround for this, and that is to break up each sub folder to individual galleries. You can now add new folders without affecting the zip files of each sub folder. Make the "top level" gallery using "web locations" that points to each sub folder.
JeffTucker

Posts: 8,099
Registered: 31-Jan-2006
Re: JAlbum uploads everything in the album each time
Posted: 14 Mar 23, 12:48   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I hadn't considered the effect of that option (I don't offer it in my skins, so I tend to forget about it). Changing a single letter in a single image comment in the project triggers the production of a new zip file. In even a modest-sized project, that zip file can become huge. One hundred original images, at 5MB each, yields half a Gigabyte of uploading.

That's an option that should probably come with a big red warning sticker. It should be used only in the final iteration of a project that isn't going to be routinely changed or added to.

Still worth doing some tests with Speedtest, just to make sure there isn't also a hardware problem making the problem even worse than it is already. When my cable modem got weird, it affected only the uploading of single large files - small files were still fine.
Legend
Forum admins
Helpful Answer
Correct Answer

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