Closed pfpro closed 2 years ago
There shouldn't be any issues with PNG images. I'll take a look and try to recreate this.
thank you.
although I now believe that it has nothing to do with the file type. the error described occurs when i use the "gallery feature".
This error seems to be caused by line 97:
onload += /\.png/.test(src) ?
this.add.previousSibling.remove(): '';
I just commented it out and the error is gone. No idea what this line was doing tho
I suppose it's removing the previous element in case the current one is a png image because otherwise it could cause issues of overlapping backgrounds.
Hi there,
are there any restrictions to PNG format?
i get error message in console:
=== CHROME (index):1 Uncaught TypeError: Cannot read properties of undefined (reading 'previousSibling') at HTMLImageElement.onload ((index):1)
=== FIREFOX Uncaught TypeError: this.add is undefined
when i use JPG file everything works fine ...