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


Permlink Replies: 8 - Pages: 1 - Last Post: 19 Feb 24, 21:00 Last Post By: wziegler Threads: [ Previous | Next ]
wziegler

Posts: 19
Registered: 26-Nov-2023
Slider Size and Caption
Posted: 29 Jan 24, 17:31
 
  Click to reply to this thread Reply
Hi,
Is there a parameter to set the size of the slider display area? In some cases I'd like to reduce the size by about 30%.

I noticed, with the option USE ONLY FOR SLIDER selected, the captions do no longer display on the slider images.

Thanks, Wolfgang

jA v34, PhotoBlogger 5.2.1
Laza

Posts: 1,763
Registered: 6-Sep-2005
Re: Slider Size and Caption
Posted: 30 Jan 24, 11:12   in response to: wziegler in response to: wziegler
 
  Click to reply to this thread Reply
No, it's either full-width or 4/12 wide, depending on the Slider type.

I will check why the captions won't show when the images are excluded.
wziegler

Posts: 19
Registered: 26-Nov-2023
Re: Slider Size and Caption
Posted: 30 Jan 24, 15:41   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza,
thanks.

I was asking about the size because in full width album designs with 4/12 slider and wide screens, the slider images get very high. Maybe you could add an option to size by number of pixels width/height or a height limit?

Wolfgang
Laza

Posts: 1,763
Registered: 6-Sep-2005
Re: Slider Size and Caption
Posted: 30 Jan 24, 16:30   in response to: wziegler in response to: wziegler
 
  Click to reply to this thread Reply
The slider uses a fixed 4:3 aspect ratio, that's why it's so high with the "full-width" setting. I must admit, that this slider design is not the best possible. In my other skins (Tiger, Story), the hero has a background slider, that adapts to the hero's height. I like this newer design better.
wziegler

Posts: 19
Registered: 26-Nov-2023
Re: Slider Size and Caption
Posted: 19 Feb 24, 00:24   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi Laza,
did you verify the behavior? Is there an easy fix?
Thanks - Wolfgang
Laza

Posts: 1,763
Registered: 6-Sep-2005
Re: Slider Size and Caption
Posted: 19 Feb 24, 07:58   in response to: wziegler in response to: wziegler
 
  Click to reply to this thread Reply
did you verify the behavior?
I don't know what you mean by "verify", but as I wrote this skin is using a fixed aspect ratio, that's why the slider can be so high, especially when the page width is set wide, and the full-width slider is used. I don't know if it would be useful to offer a full-width slider with a limited height - e.g. 200px. That would result in a stripe, taken from the middle of the pictures, with all the heads cut off.
wziegler

Posts: 19
Registered: 26-Nov-2023
Re: Slider Size and Caption
Posted: 19 Feb 24, 14:28   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi,
sorry I should have added a quote, as I was referring to your earlier response on the slider captions not the height:

I noticed, with the option USE ONLY FOR SLIDER selected, the captions do no longer display on the slider images.

Wolfgang
Laza

Posts: 1,763
Registered: 6-Sep-2005
Re: Slider Size and Caption
Posted: 19 Feb 24, 17:49   in response to: wziegler in response to: wziegler
 
  Click to reply to this thread Reply
Attachment init.js (59.0 KB)
Sorry, I see now.

Yes, the caption was missing (not generated) on the skipped images.

I have fixed it now, and it will come with the next version. If you'd like to use it immediately, here's the changed file, attached. Save it to the skin directory (Ctrl-Shift-S).
wziegler

Posts: 19
Registered: 26-Nov-2023
Re: Slider Size and Caption
Posted: 19 Feb 24, 21:00   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Great - works perfectly.
I really like this option to guide the viewer while they are staring at the folders :)
Many thanks!
Legend
Forum admins
Helpful Answer
Correct Answer

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