Posts:
30
Registered:
8-Nov-2009
|
|
|
|
Re: Hero image low resolution
Posted:
7 Feb 26, 16:52
in response to: zif
|
|
|
I'm no longer sure if the problem is even caused by the tiger skin. In my file backups, I saw that I last generated all the slide images on July 3, 2025. Since then, I've added many new images, but I've only generated the album using "Make test". That's probably why I only noticed now, during my complete album generation, that the problem with the cropped images exists not only with the hero image but also with some of the slide images.
Just one other strange thing that happend when I fully generated the album this year. In my slide.htt I use a code like:
<ja:fileiterator exclude="folder,webLocation" start="-2" count="5" nodirs>
<a class="thumb" href="${closeupPath}"><img src="${thumbPath}"</a>
<ja:if exists="comment">${comment}</ja:if><ja:else>${title}</ja:else>
</ja:fileiterator>
Since the full album rebuild the thumb image changes correct within the iterator, but the comment changes not. This bug appeared since i fully generated the album. Before the same code worked correctly when i added new images to the album and generated the album with "Make test". Perhaps this information will help to narrow down the problem.
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
7 Feb 26, 18:45
in response to: zif
|
|
|
Since then, I've added many new images, but I've only generated the album using "Make test".
Bingo! Don't ever do that.
Make test regenerates the HTML and CSS, but it doesn't reprocess the images, whether it needs to or not. If it were up to me, that option would be removed from the application.
Just click Make Album, and let the jAlbum core figure out what needs to be regenerated, and what doesn't. And make sure you're not checking Process only updated subdirectories. That's another one that leads to all sorts of problems.
|
|
|
Posts:
30
Registered:
8-Nov-2009
|
|
|
|
Re: Hero image low resolution
Posted:
7 Feb 26, 19:18
in response to: JeffTucker
|
|
|
Just click Make Album, and let the jAlbum core figure out what needs to be regenerated, and what doesn't. And make sure you're not checking Process only updated subdirectories. That's another one that leads to all sorts of problems.
Ok, I see. My mistake was, that I use the german GUI and there Make test is translated with Änderungen erstellen. So the translation is a little bit missleading.
Back to my problem: Make Album doesn't solve my current problems. And Process only updated subdirectories has always been unchecked. What do you suggest me to do to solve the problem?
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
7 Feb 26, 19:36
in response to: zif
|
|
|
|
To repair the damage caused by months of doing the wrong thing, it might be necessary to delete the entire local album, and let jAlbum rebuild it. At this point, it's probably hopelessly confused about what does, or does not, need to be processed again.
|
|
|
Posts:
30
Registered:
8-Nov-2009
|
|
|
|
Re: Hero image low resolution
Posted:
7 Feb 26, 20:10
in response to: JeffTucker
|
|
|
To repair the damage caused by months of doing the wrong thing, it might be necessary to delete the entire local album, and let jAlbum rebuild it. At this point, it's probably hopelessly confused about what does, or does not, need to be processed again.
What do you mean with delete the entire album and let jAlbum rebuild it? Would I have to rebuild the whole album from scratch again by hand?!
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
7 Feb 26, 20:18
in response to: zif
|
|
|
|
No, don't delete the project. Open the project. Click the little down-arrow next to its name. Then choose Delete.... Delete local album. Then Make album again.
|
|
|
Posts:
1,509
Registered:
6-Sep-2005
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 08:32
in response to: zif
|
|
|
|
You only have to delete the output (a.k.a the Local album). The continuous use of "Make test" probably confused jAlbum about what to update. Today, jAlbum is fast enough to regenerate a large album with 10 thousand images in 20-30 minutes. Deleting the output files is even better than using "Force rebuild," as the latter cleans up only jAlbum-generated files, but folder images are generated by the skin, which cannot always detect when Force make is running.
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 10:23
in response to: Laza
|
|
|
Today, jAlbum is fast enough to regenerate a large album with 10 thousand images in 20-30 minutes.
Much faster than that. Feeding 10,000 typical digital images (dimensions in the 4000x3000 range) in 100 folders, using default settings in Tiger or Neptune (one JSON-driven, the other not), and on a mid-range desktop PC dating from 2018 (SSD), I can generate the album in under 7 minutes. On a more modern, robust machine, it should be noticeably faster than that!
ETA: This assumes, of course, JPG output (AVIF files are smaller, but the routine for generating them is much slower), no variants (each set would add another 7 minutes), no added pages, no views, etc. In short, nothing fancy.
|
|
|
Posts:
30
Registered:
8-Nov-2009
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 10:33
in response to: Laza
|
|
|
|
Dear Jeff and Laza. Thanks for your support!
I deleted the local album and made the album again. The problem with the hero size and resolution has been solved/fixed.
Unfortunately, the problem with some croped slide images (and also with the fileiterator) still exists.
It's strange. This is how jAlbum generates the croped slide image today (with the filter configuration I used for many years and the picture has always been displayed correct during this time).
(Link removed)
This is the original file:
(Link removed)
This is how jAlbum generates the slide image of the uncroped picture today. What seems OK:
(Link removed)
This is how jAlbum generates the slide image if I crop it in jAblum today. What looks false:
(Link removed)
This is how jAlbum generates the slide image if I crop the image before in GIMP and don't use any filter in jAlbum. What looks correct:
(Link removed)
Any hints?
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 11:02
in response to: zif
|
|
|
|
This appears to be a jAlbum bug, compounded by a Tiger bug.
What's happening is that the core is scaling the image first, then cropping it. So, it takes the 4288x2848 image and scales it to the 920x920 bounds. That produces a 920x611 image.
Then it crops it, resulting in an image that's only 522x367 (I'm just approximating your crop, of course).
It should, of course, be cropping the image, then scaling it, which would result in a perfectly clear, crisp image that fits within the 920x920 bounds.
Tiger then compounds the error by displaying the slide image as if it were actually 920x647 (I'm not sure where the skin is getting those dimensions). Neptune doesn't commit the same error - when it shows the image in the lightbox, it's displaying it at its actual 522x637 dimensions.
Laza, I'm going to have to leave this one to you. The Tiger bug is yours, and the jAlbum bug is David's.
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 11:10
in response to: JeffTucker
|
|
|
|
Here are a couple of zipped projects to play with:
(zip files removed)
These use zif's settings, but I've stripped out the logotype filter (generates an error unless you re-add the image, and it's not relevant to any of this). The image cropping in both cases is just my approximation of what zif is doing.
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 11:26
in response to: JeffTucker
|
|
|
|
One more "fun" tidbit....
Tiger is screwing up the theme image. In the demo project I've uploaded, adjust the theme image crop mask to show the animal's head. In the resulting album, he gets decapitated. I believe this is also due to the image cropping. If I remove the image cropping, the theme image crop mask functions as expected.
The Neptune album behaves properly.
|
|
|
Posts:
1,509
Registered:
6-Sep-2005
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 11:27
in response to: JeffTucker
|
|
|
|
|
|
Tiger is relying on the JSON database, which reports that this image is 920x613.
|
|
|
Posts:
1,509
Registered:
6-Sep-2005
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 11:32
in response to: zif
|
|
|
|
I guess it's futile to work around the jAlbum bug, so I'll wait until David fixes this. I asked him to look into this topic.
|
|
|
Posts:
8,330
Registered:
31-Jan-2006
|
|
|
|
Re: Hero image low resolution
Posted:
8 Feb 26, 11:32
in response to: Laza
|
|
|
Tiger is relying on the JSON database, which reports that this image is 920x613.
Ah, that explains at least part of the mystery. Neptune doesn't use JSON - the lightbox script is just looking at the actual dimensions of the slide image, so it's not getting fooled.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|