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 works

Blazy version: 2.0.0-rc7
Blazy error

Comments

iiRealXz created an issue. See original summary.

gausarts’s picture

Status: Active » Postponed (maintainer needs more info)

Thank you.

Does the provided solutions here #3144839: Toggle Layout Builder preview does't load blazy images work for your case?

recrit’s picture

This 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

gausarts’s picture

Assigned: javier_rey » Unassigned

Thank 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.

gausarts’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Fixed

At 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.