|
|
@@ -252,7 +252,7 @@ this.docHelper = this.docHelper || (() => {
|
|
|
function getImageData(doc, options) {
|
|
|
if (doc) {
|
|
|
const data = [];
|
|
|
- doc.querySelectorAll("img[src]").forEach((imageElement, imageElementIndex) => {
|
|
|
+ doc.querySelectorAll("img[src]:not([srcset])").forEach((imageElement, imageElementIndex) => {
|
|
|
const computedStyle = getComputedStyle(imageElement);
|
|
|
let imageData = {}, size = getSize(imageElement);
|
|
|
if (imageElement.src && size && (!computedStyle.getPropertyValue("background-image") || computedStyle.getPropertyValue("background-image") == "none")) {
|