background-check
background-check copied to clipboard
img with srcset not working
Hi Kenneth,
great plugin! But when using images with srcset (with or without polyfills like picturefill or lazysizes/respimage) detection is not working correct. Also errors are thrown (IndexSizeError: Index or size is negative or greater than the allowed amount / context.drawImage image ...) when resizing images over 100% of their natural size.
Any ideas?
Thank you, Michael
Any news about that? Same issue wondered if you could find a solution @pipeTM .
@psntr sorry, no! I did'nt use this lib in that project.
Try this fix: https://github.com/kennethcachia/background-check/issues/116