My question: How can I get jAlbum to specify the correct width and height in the index.html for the generated thumbnails?
Background: I use a very simple skin for my slideshows created with jAlbum, which I copied together myself. The jAlbum files only contain HTML and CSS - no Javascript. With this I achieve very good values in Google's PageSpeed tool.
The problem:
- In jAlbum (latest version) I enter the maximum size (e.g. 300x225) of the thumbnails in "Settings - Images - Main page - Image dimensions - Thumbnails".
- In the generated index.html ALL thumbnails are now indicated with "width=300;" and "height=225;", although not all pictures are in "landscape-format" or have other widths or heights. See example 1 at https://wiesweg.de/ja/beispiel1/index.html
- Consequently, I manually change these specifications of heights and widths of the thumbnails in the index.html - see https://wiesweg.de/ja/beispiel2/index.html .
I have searched nearly most of the support pages of jAlbum to achieve correct size specifications for the thumnails in the "index.htt" with corresponding variables for thumbnail-width and -height. I tried replacing the existing width="${maxThumbWidth}" height="${maxThumbHeight}" with "${ThumbWidth}" and "${ThumbHeight}". No success, because this resulted in empty values for width and height, because both variables are no longer valid in jAlbum.
In "slide.htt" I use width="${imageWidth}" and height="${imageHeight}" - and with this I get correct size information in the slide files.
So my question to the jAlbum experts: Are there valid variables for width and height of the thumbmails in jAlbum for the "index.htt" that indicate the correct sizes?
Thanks a lot for an answer or any other ideas.