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


Permlink Replies: 4 - Pages: 1 - Last Post: 30 Jul 21, 14:12 Last Post By: AndreWolff Threads: [ Previous | Next ]
AndreWolff

Posts: 2,201
Registered: 14-Dec-2007
Not all variants are created
Posted: 29 Jul 21, 21:15
 
  Click to reply to this thread Reply
Attachment Settings.png (17.2 KB)
For the last image in this album with srcsets jAlbum generates this srcset string:
<a  href="slides/playground.jpg" data-pswp-width="5376" data-pswp-height="2688"
 data-pswp-srcset="slides/playground-5376w.webp 5376w,slides/playground-3840w.webp 3840w,slides/playground-1920w.webp 1920w,slides/playground.jpg 1920w,slides/playground-960w.webp 960w" 
However the slides folder contains only one image:
playground.jpg with a size of 4096x2048.

The used settings are enclosed.

jAlbum 24. 1 and Windows 10
RobM

Posts: 3,906
Registered: 4-Aug-2006
Re: Not all variants are created
Posted: 30 Jul 21, 10:46   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Just to be sure it is a bug, do you get the same result with another skin that supports variants?
AndreWolff

Posts: 2,201
Registered: 14-Dec-2007
Re: Not all variants are created
Posted: 30 Jul 21, 11:36   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Just to be sure it is a bug, do you get the same result with another skin that supports variants?
I can't see which skins do support variants. The description of the Minimal skin is a year old, no variants are mentioned.
But both FancyBox and Tiger do generated just one file playgroun.jpg, while FancyBox see this srcset:
data-srcset="slides/playground-5376w.webp 5376w,slides/playground-3840w.webp 3840w,slides/playground-1920w.webp 1920w,slides/playground.jpg 1920w,slides/playground-960w.webp 960w" 
.
ronvanrossum

Posts: 67
Registered: 16-Jul-2014
Re: Not all variants are created
Posted: 30 Jul 21, 13:29   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Minimum version 8 is bundled with the latest jAlbum release and not (yet) available from the skin download section on the website. Just delete it from your local skins directory and use the bundled one.
AndreWolff

Posts: 2,201
Registered: 14-Dec-2007
Re: Not all variants are created
Posted: 30 Jul 21, 14:12   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Also an album generated with the bundled Minimal skin shows only image playground.jpg but the generated page uses srcsets:
	<div id="slideimage">
<div id="imagewrap">
			<picture><source type="image/webp" srcset="playground-3600w.webp 3600w,playground-2400w.webp 2400w,playground-1200w.webp 1200w,playground-600w.webp 600w"/><source type="image/jpeg" srcset="playground.jpg 1200w"/><img src="playground.jpg" width="1200" height="600" alt="playground"></picture>
</div>
		<a href="080515_01_W2_Kioni_Anogi_360PF1.htm" id="slide-prev" title="Previous page"></a>
</div>
Legend
Forum admins
Helpful Answer
Correct Answer

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