Patch smaller Images via srcset (quick & dirty)
-
A Quick and Dirty written Patch.
Save Bandwidth; send smaller images to Client instead of full images. Use technic “SrcSet”https://github.com/soerenj/wp-lightbox-2/blob/master/wp-lightbox-2.min.js
(just replace your wp-lightbox-2.min.js)Video about: https://www.youtube.com/watch?v=9cujYa04Lf8
Features
+ takes the preview/thumbnail Image (takes the biggest one; default: 1024px; Change: Setting -> Media -> Large size)
+ set image to 100% width / or 100% heightPossible in good combination with these Plugins:
Make it Srcset
Regenerate Thumbnails
The topic ‘Patch smaller Images via srcset (quick & dirty)’ is closed to new replies.