@antermoia which mobile device are you using? Have you tested this with the block editor? Does the same thing happen when using the gallery block?
For now, you can actually install a functionality plugin like Code Snippets and add the function from the plugin to that instead. The plugin hasn’t been updated because there’s nothing to be modified or maintained here. You can find the function in the trunk here:
https://plugins.trac.ww.wp.xz.cn/browser/disable-jetpack-carousel-on-mobile?order=name#trunk
We don’t currently have any plans to amend this for the classic editor gallery. If you have the same issue with the block editor, let us know and we’ll do some further testing here.
Hello Tracy,
I’m using an iPhone 12. I also tried this with the block editor and the result is the same – the Carousel view shows smaller images than what’s directly visible in the blog post (except that the Carousel view, when invoked from the block editor gallery, doesn’t show the caption at all in Carousel).
https://www.alex-kunz.com/gutenberg-gallery-test-page/
The Gutenberg gallery is not a consideration for me at this time because of the of the way the captions are covering the photos (look at the way the caption looks for the vertical image) AND the fact that the captions are omitted.
(just for comparison, this is a Classic Editor gallery, with the captions below the images where they should be, and also captions shown in the Carousel: https://www.alex-kunz.com/del-dios-highlands-dawn/ – that’s a different problem though)
Thanks for your help!
Alex.
PS: I tried the Gutenberg gallery block in my personal (wp.com hosted) blog as well, and it’s actually worse because I seem to be running into a bug that prevents the Carousel view from even showing the image. The X doesn’t work to close the Carousel and I have to reload the page to even “get out” of this view. Maybe you can let the folks who take care of this know.
https://alexkunz.wordpress.com/gutenberg-gallery-test-page/ (this is a test page that I created for a different purpose actually).
Hi @antermoia
This issue has been discussed quite a bit here:
https://github.com/Automattic/jetpack/issues/6069
I’d suggest adding your thoughts to a comment there and following that issue for updates, although as you can see it’s been open for quite some time, so it may not be addressed in the near future.
For now I’d suggest disabling Carousel on mobile, either using the plugin you mentioned, or by copying the relevant code to your own site using a snippets plugin like Tracy suggested:
https://plugins.trac.ww.wp.xz.cn/browser/disable-jetpack-carousel-on-mobile/trunk/disable-carousel-mobile.php
Hope that helps!
Thank you, Dan.
I found a copy of the plugin on Github and installed it (I replaced the included mobile_detect.php with the most recent version). It seems to work just fine.
Great! I’ll mark this as resolved, and you can keep an eye on the Github issue for any updates there.