Skip to content

Photon + Lazy Load doesn't load Retina versions #529

@ChrisBegley

Description

@ChrisBegley

When I have Photon enabled and the Lazy Load plugin from the VIP team, Retina versions of the lazy loaded images aren't being served.
http://wordpress.org/plugins/lazy-load/

The Lazy Load plugin changes the markup to look something like this:

<img src="http://example.com/wordpress/wp-content/plugins/lazy-load/images/1x1.trans.gif" data-lazy-src="http://i0.wp.com/example.com/wordpress/wp-content/uploads/2014/05/example.jpg" />

Could the issue be that the Photon script: http://s0.wp.com/wp-content/js/devicepx-jetpack.js is only looking at the "src" attribute and not the "data-lazy-src" attribute, where the actual image is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Photonaka "Image CDN". Feature developed in the Image CDN package and shipped in multiple plugins[Type] BugWhen a feature is broken and / or not performing as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions