-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carousel: images not displayed when a Tiled Gallery uses external images #18362
Comments
I do not believe this is the same issue but will reference it here if it is helpful to track down the cause. |
This issue looks like it's definitely related to #11191 in some way. Unfortunately I am unable to reproduce this exact error. However using similar images in terms of file size I was able to come across some issues with the Bulk Uploader but I am not able to consistently reproduce this bug either. Due to the images referenced in the HC of the issue description, one thing that stands out is the size of the images as they're extremely large but again all attempts to reproduce the original issue have failed. I wonder if this issue would persist if the images we downsized, compressed and reuploaded? |
Internal repro here: p1muIj-837-p2 no luck reproing from scratch yet |
This has come up in the public forums here - the console shows these errors: https://d.pr/i/1F7QA7 (same as #11191) Something I also identified is that the image being displayed in the gallery (an ordinary gallery block) - https://tepe68blog3.wordpress.com/2020/12/22/rosabell-laurenti-sellers/ isn't present into the media gallery. |
Repro here: https://test79088093.wordpress\.com/portfolio/ (using a page layout / pattern content) Narrowed this down to this The The images in this example are not present in the media library. Likely because it's example content that uses image urls for the content from the pattern source site. For example, in this test post I used images directly from the media library and everything works fine: https://test79088093.wordpress\.com/19-2/ I'm not sure where the fix belongs, @jeherve - do you think Jetpack needs to handle the hotlink usecase? It's probably out of scope but we might be able to at least get it to gracefully handle the situations (loop on selected images instead of attachments and add defaults where we can). cc @andrewserong / @apeatling as maybe ya'll have a better idea / and or want to take this issue on. e.g. copying images over to the media library and using those in the pattern content instead. (not easy I know) |
That's an interesting one. Jetpack definitely should handle this use-case better, it would be worth moving this issue to the Jetpack repo. I'l do that now.
Do you think you could add some steps to follow to create a tiled gallery, or a core gallery, using images that are not in the Media Library? I did not know that was possible :) |
If a page template is used in WordPress.com, the images are not added to the Media Library. Alternatively, if I copy a tiled gallery block from the editor of one site and paste that into another site, the images are also not added to the Media Library. |
Ah, that's interesting. That seems like a bug. I believe images were side-loaded since Automattic/wp-calypso#34823 and Automattic/wp-calypso#34839, so I would recommend creating an issue in the Calypso repo about this.
That's another interesting edge-case. Thank you, that should help us reproducing and when testing a fix. |
@jeherve we've decided that it's better UX and better use of customers hosting space if we don't populate the media gallery with demo-images, as we expect customers to anyway replace those images with their own. That said, I don't see why the Jetpack Carousel shouldn't work for external images and this definitely is still a bug. Customers can add external images to the image block just fine manually as well. @apeatling added to View backlog for your consideration, let us know if you'd prefer not to have this. :-) cc @sgomes in case this is after recent carousel jQuery refactoring? |
@simison : The first stage of the carousel refactoring is only live in wpcom, and hasn't made its way into Jetpack yet. So if the issue is showing up in atomic, it's likely unrelated. Per the discussion above, the issue appears to be that certain data attributes are expected, but are not being populated for these images. |
Marked this issue in a note as part of a bigger carousel rethink. |
This is no longer replicable. With all the rework being done in Carousel I think this is no longer and issue. |
Hey there, I've just come across this bug twice on two simple sites. The first incident can be found here: https://wordpress.com/forums/topic/subscribers-137/?view=all (using images loaded into the sites media library) The second can be found here: https://wordpress.com/forums/topic/bug-in-gallery-widget/ (using external images) When clicked, the console displays these two errors in both of these sites here:
|
Just to note, the gallery mentioned in https://wordpress.com/forums/topic/bug-in-gallery-widget/ is actually a regular gallery, not a tiled gallery specifically. |
i have the same issue when enabling image load speedup: the gallery display is blank. on inspection, the carousel links are missing parameters: https://i0.wp.com/cardinalglen.org/wp-content/uploads/2023/06/IMG_1651.gif 404s, but the inspector also shows: https://i0.wp.com/cardinalglen.org/wp-content/uploads/2023/06/IMG_1651.gif?w=394&h=289&ssl=1 which does load…see https://cardinalglen.org/buckbrosbreakfast/ |
Steps to reproduce the behavior
What I expected to happen
Expected gallery to open in a carousel and images to appear.
What actually happened
Context
26991480-hc
Browser / OS version
Tested in Firefox 84 & Chrome 87 / Mac OS Big Sir
Is this specific to the applied theme? Which one?
Tested on Storefront, TwentyTwenty, Varia child themes. Does not appear to be theme specific.
Does this happen on simple or atomic sites or both?
Both Simple and Atomic
Is there any console output or error text?
Level of impact (Does it block purchases? Does it affect more than just one site?)
Seems to affect all users with a gallery carousel on their site.
Screenshot / Video: If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: