Closed (fixed)
Project:
Blazy
Version:
8.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2020 at 06:30 UTC
Updated:
14 May 2021 at 16:54 UTC
Jump to comment: Most recent
Hi! There seems to have been a mistake in updating the versions of blazy.
I had version 2.0.0-rc6 and, when the images were hidden (in this case, they are inside a tab in the mobile phone version) the photos were never loaded. When I updated to the latest version, 2.1.0 still failed, but rc7 works fine.
Blazy version: 2.1.0

Blazy version: 2.0.0-rc7

| Comment | File | Size | Author |
|---|---|---|---|
| Anotación 2020-07-07 082032.png | 207.64 KB | javier_rey | |
| Anotación 2020-07-07 081830.png | 8.42 KB | javier_rey |
Comments
Comment #2
gausarts commentedThank you.
Does the provided solutions here #3144839: Toggle Layout Builder preview does't load blazy images work for your case?
Comment #3
recrit commentedThis could be due to 2.1 does not have a way to turn off native browser lazy loading. The attribute "loading=lazy" was added to all image about 5 month ago in this commit that removed the native option - https://git.drupalcode.org/project/blazy/-/commit/f1ddef7c4baacbc110edf9...
@iiRealXz - Try the patch committed to dev at #3142503: Add option for native browser lazy load
Comment #4
gausarts commentedThank you.
Yes, native option may share the issue.
There was also another related issue:
#3185885: Rotating blue square doesn't go away
Please verify if the above committed fix solve this one.
I am planning to release a new one soon. Hopefully this one was addressed by then.
Comment #5
gausarts commentedAt Blazy UI, under Blazy settings, there is also an option to fix "that were hidden don't load" that is: Load invisible
This is not an issue for IO, IIRC.
Feel free to re-open if still an issue. Thanks.