Strange behavior of slideshows: They work only if the size is set to medium.
-
Strange behavior of slideshows: They work only if the size is set to medium.
Hi all WP happy engineers,
I hope you ‘re doing well.Do you want to see something strange?
It took me some serious time to reproduce the problem, but here it is:I use often slideshow galleries and I’ve noticed that some of them suddenly they do not work.
After loading, they do not move to the next image and if you press the “Play” button (I know there’s a # over there), nothing happens except for the “focus” that jumps to the top of the post.
Well, it drove me crazy for a while, but I think I’ve found the root of the problem:
It happens when I do not set “Size” to “Medium”.
If I choose “medium” the slideshow plays.
If not my slideshow doesn’t seem to move to the next image after the first one.You can check it here:
https://xyzcontagion.wordpress.com/?p=7471&preview=trueAny help?
Thanks in advance.
The blog I need help with is: (visible only to logged in users)
-
I have never heard of that before and do not know how to help you. I tagged this thread with modlook for Staff help. Please subscribe to it so you are notified when they respond and be patient while waiting. To subscribe look in the sidebar of this thread, find the subscribe to topics link and click it.
-
It loads for me whether you set it to Medium or not, but I’m also on a very fast internet connection. This slideshow has 181 images, and at Large, that takes a while to download.
Reducing the size to Medium helps a bit, but honestly I’d recommend splitting the slideshow into much smaller units — maybe 10-20 images per slideshow, max? Be sure those slideshows are not all loading on any single page, too — remember when people load this up on their phones, they may be incurring data charges.
-
Thank you for your answer, dear Supernovia.
I say loud all the time that WP engineers are always very helpful and they really care about us users.I didn’t mention that I cannot alter in any way this set of 181 images because all 181 of them (and in this particular order) they are part of a prosecutor’s document in a very serious trial in Greece these days (perhaps you’ve heard it, I’m talking about the trial of the neonazi party Golden Dawn which is going as we speak).
I cannot split the set, nor reduce the number of the images.
It’s evidence, you know, and no changes are permitted.In your opinion, two factors are responsible for the problem: the size and the number of the images.
First, let me be clear on this:
I didn’t say that the images are not downloaded. I guess they are.
The problem is that when you see the first image and you’re waiting to see the second and the third etc, nothing happens. And when you click on the “Play” button, the “focus” (let’s say “the cursor”, although it’s not completely correct) just jumps to the top of the screen.
I’m clarifying this, just to be sure that we are on the same page.Regarding the size, I don’t really see a difference when I look at the slideshow (I have to say I always use PC, never mobile phones or tablets), no matter if I choose thumbnail, medium, large or full.
I think in a PC screen, all look the same, especially if you consider that the dimensions of the slideshow is very limited and exact in all four settings.
You really think that the medium option consumes less download resources than the full option?
Of course, you are the programmer and the expert, but I think the way the pictures look (small or bigger) has nothing to do with this setting. The same picture is been donwloaded, the same resources are consumed, the same bandwidth too, and if the user sees them small or big is irrelevant. It’s a software code issue, from the little I know.
But even in this case, if size does matter (making a little humor, “oh, my God, what am I saying now?“), isn’t the thumbnail option “smaller” than the medium option? (I really ask, because I don’t know, just try to understand).As for the number of the images, in another case I’ve used 340 pictures in a slideshow and there was never a problem.
More on this, I use the same 181 images slideshow in a large number of posts and pages and there was never a problem.In my opinion, this bug has other roots that had nothing to do with the size and the number of the images.
All these, just for you, my dear Supernovia, just to think about.
I solved the problem just setting “medium” to every slideshow, now and in the future, and they are all working, I believe.
The “focus” is always exactly where I want to be (that’s it in the pictures), and the user doesn’t see suddenly the top of the screen when he clicks on the slideshow’s “Play” button.
I’m OK with this,
thank you a lot,
and best regards from Greece :) -
@supernovia- is it new that the Gallery Slideshow takes the size parameter? To the best of my knowledge, until now the Slideshow ignored this parameter and filled the width of the theme’s content container.
In my test post, adding the image size when setting up the Gallery Slideshow in the Media Manager didn’t follow through in the resulting shortcode in the Text tab of the Post Editor.
-
Hi,
You really think that the medium option consumes less download resources than the full option?
At size=”full” the page is over 45 megabytes.
At size=”medium” it’s 11 megabytes.
I hope that helps :)
-
@supernovia-I’ve opened my own forum thread for my question. Thanks. https://en.forums.wordpress.com/topic/change-in-gallery-slideshow-behavior?replies=1#post-2489878
Apologies to @basilikimetatroulou for hijacking this thread.
-
It helps, no doubt about it. You’re the expert. I’m just telling what my impression is, when I load the page.
Can you tell me how many megabytes is at size=”thumbnail”?
-
Actually you can find it for yourself by setting the size to thumbnail, loading the page, and using the inspect element / network log to see how much is downloaded. Do you want to give that a try?
-
I didn’t know I can find the size of a page with the “inspect element” functions, thank you.
I hit “inspect element” in a Firefox, then I see this window with hundreds of fields and therefore millions of combinations of where to look at,
I go in “Monitor” (if that was the “monitor” you mentioned), I see a column “size”,
but I don’t see a “Sum” or a “Total”, so I quit.Anyway, I wanted to learn the size just to compare, it’s not anything critical,
as I’ve said, I’m OK with the “medium” parameter, although the problem didn’t go away.
It’s still there.Thank you for all your efforts.
-
I just tested; it’s about 3MB, but it doesn’t look very good because the images are quite small.
Anyway, I wanted to learn the size just to compare, it’s not anything critical,
as I’ve said, I’m OK with the “medium” parameter, although the problem didn’t go away.
It’s still there.Is there still a problem with Medium?
-
Honestly if the images don’t need to be in a “slideshow” and you just need a password-protected URL that shows all of the images, you might try cloudup.com instead (it’s another product by Automattic).
For example:
https://cloudup.com/cz1OLhegr8gThat way you could also “scroll” through the images at your own rate (using left and right arrows) instead of having them auto play. You can also embed it in a site, or password protect it.
-
Perfect!
I didn’t know there’s a product like this, thank you so much.
Embed and password, absolutely perfect! -
-
-
-
-
Cheers all, I’ll go ahead and close this out. Glad I could show you Cloudup — it’s really handy for stuff like this!
- The topic ‘Strange behavior of slideshows: They work only if the size is set to medium.’ is closed to new replies.