a3rev / a3-lazy-load

Speed up your site and enhance frontend user's visual experience in PC's, Tablets and mobile with a3 Lazy Load.
GNU General Public License v3.0
18 stars 11 forks source link

Prevent Conflict with Jetpack’s Photon/WP.com Image CDN feature’s devicepx JavaScript #35

Closed KZeni closed 5 years ago

KZeni commented 5 years ago

Just putting this out there as a possible resolution to https://github.com/a3rev/a3-lazy-load/issues/34.

There may be better solutions available, but I'm not familiar enough with the plugin to know what might be the more desirable option (I just know that this prevents a conflict which makes the whole purpose of devicepx break when a3 Lazy Load is enabled for images [it just keeps the placeholder image shown as the issue referenced above mentions.])

KZeni commented 5 years ago

This may be worthwhile to remove if https://github.com/Automattic/jetpack/issues/14024#issuecomment-554968637 is followed through with on Jetpack's end to avoid the conflict (allowing devicepx to be used again without issue, potentially.)