Thread Locked This thread is locked - replies are not allowed.


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


Permlink Replies: 13 - Pages: 1 - Last Post: 10 Aug 24, 03:07 Last Post By: JeffTucker
romendo

Posts: 4
Registered: 6-Nov-2011
Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 04:57
 
The hero slider does not work when Selected images is used. It works fine with Random image. I made sure to select some images and the Groovy code I found on this forum displays them.

Checking the HTML code generated for those two options I don't see the section for the slider.

Random image:
<div class="slider" data-slider="{"delay":"4000"}"><div class="slide init"></div></div><div class="hero-overlay color"></div>
Selected images:
<div class="hero-overlay color"></div>

I am using Tiger 5.11.3 on jAlbum 32.1.3.

Edited by: JeffTucker on 9 Aug 2024, 08:02, to add "code" tags
Laza

Posts: 1,531
Registered: 6-Sep-2005
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 09:19   in response to: romendo in response to: romendo
 
I don't see the links. Not sure what you meant by this: "Groovy code I found on this forum displays them".
RobM

Posts: 3,999
Registered: 4-Aug-2006
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 11:06   in response to: romendo in response to: romendo
 
You need to update jAlbum, see this thread, second post
Laza

Posts: 1,531
Registered: 6-Sep-2005
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 14:26   in response to: romendo in response to: romendo
 
You just select the images, I take, but you have to use right-click -> Tiger -> Use in hero slider.
JeffTucker

Posts: 8,372
Registered: 31-Jan-2006
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 14:36   in response to: Laza in response to: Laza
 
Laza wrote:
You just select the images, I take, but you have to use right-click -> Tiger -> Use in hero slider.

And that feature does not exist before jAlbum 33.
RobM

Posts: 3,999
Registered: 4-Aug-2006
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 15:07   in response to: JeffTucker in response to: JeffTucker
 
JeffTucker wrote:
Laza wrote:
You just select the images, I take, but you have to use right-click -> Tiger -> Use in hero slider.

And that feature does not exist before jAlbum 33.

And as in the post above, Tiger is no longer the default skin and the minimum version of jAlbum could now be increased to 33 as a minimum.
JeffTucker

Posts: 8,372
Registered: 31-Jan-2006
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 15:18   in response to: RobM in response to: RobM
 
RobM wrote:
And as in the post above, Tiger is no longer the default skin and the minimum version of jAlbum could now be increased to 33 as a minimum.

Even if it were the default skin, I don't think there's anything wrong with the default skin demanding a reasonably up-to-date version of the core. A given version of the skin will always work with the version of jAlbum with which it was bundled. Sufficient.
Laza

Posts: 1,531
Registered: 6-Sep-2005
Re: Here slider is not working when using "Selected images"
Posted: 9 Aug 24, 16:06   in response to: JeffTucker in response to: JeffTucker
 
Forgot to mention that you can also select the image for the hero slider in Edit mode (in the older versions).
romendo

Posts: 4
Registered: 6-Nov-2011
Re: Here slider is not working when using "Selected images"
Posted: 10 Aug 24, 00:04   in response to: Laza in response to: Laza
 
I did select the images using the second method and used some Groovy code I executed in the System console to verify that I did in fact select some images.
JeffTucker

Posts: 8,372
Registered: 31-Jan-2006
Re: Here slider is not working when using "Selected images"
Posted: 10 Aug 24, 00:10   in response to: romendo in response to: romendo
 
Attachment ss012466.png (779.7 KB)
No need for any code in the console. Just open one of the images for editing, and see if the box is checked. Screenshot.

And of course, also select Tiger > Site > Hero > Background image > Selected images.
romendo

Posts: 4
Registered: 6-Nov-2011
Re: Here slider is not working when using "Selected images"
Posted: 10 Aug 24, 00:40   in response to: JeffTucker in response to: JeffTucker
 
I upgraded to the latest version of jAlbum - exact same issue. I guess I will have to start from scratch to find out why it doesn't work.
JeffTucker

Posts: 8,372
Registered: 31-Jan-2006
Re: Here slider is not working when using "Selected images"
Posted: 10 Aug 24, 00:49   in response to: romendo in response to: romendo
 
I just did a quick test album as a "sanity check," and it works as advertised. Just be aware that the "slider" isn't really a slider - it just goes through a series of theme images in the header, on a timed slideshow. Nothing really "slides."

ETA: Try a little test album with just a handful of images. Upload it somewhere, and give us a link to it.
romendo

Posts: 4
Registered: 6-Nov-2011
Re: Here slider is not working when using "Selected images"
Posted: 10 Aug 24, 02:38   in response to: JeffTucker in response to: JeffTucker
 
I played around with it and finally understand how it is supposed to work. I did not realize it only works on a page that has images. I was trying to get it to work on the main page that only has folders.

However, when I selected the folders on the main page and selected "Use in hero slider" it also started to play the images that I selected from a sub-folder. Maybe this is a bug or intentional, but I got it to work this way.
JeffTucker

Posts: 8,372
Registered: 31-Jan-2006
Re: Here slider is not working when using "Selected images"
Posted: 10 Aug 24, 03:07   in response to: romendo in response to: romendo
 
Ah, yes. That's pretty flaky. The UI lets you tell it to use the folder image in the hero slider, but that doesn't actually work. You have to open the folder, and select an individual image as a hero slider member.

Strangely, the other "standard" routine doesn't work. Normally, you can add an image to the top level, exclude it, then tell it to use that image as the theme image (drag to the theme image box). That works fine. But when it comes to the hero slider, that's ineffective. You can't add three images, exclude them, then tell Tiger to use them in the hero slider. Nothing happens.

But if you do both things, all sorts of odd events start occurring. You can end up with a slider on the root page that contains a mix of an excluded top-level image, plus designated folder images.

This is all above my pay grade.
Legend
Forum admins
Helpful Answer
Correct Answer

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