Closed Kristinita closed 3 years ago
Hi, thanks for your contribution
Great, if this is required to use with provided plugins, then this may be merged.
I have one small issue about code format, which I commented in the code.
I also see, that in this pull there are changes from the other one, and this shouldn't happen.
Please fix those issues, and I'll merge this.
Due to unresolved comments, I am closing this Pull Request
However, I solved the issue mentioned in it myself (https://github.com/demtario/hes-gallery/commit/83f36ba5ec910ff8dc0b80691b0c4fb7ec1649df) and since version 1.5.0
this should work
1. Summary
I made hes-gallery support cases where the required path to image is the value of the
data-src
attribute.2. MCVE
I couldn’t find any regressions after my pull request.
3. Argumentation
We must specify the path to the image in the
data-src
attribute, not thesrc
if we use the following plugins:After my changes it would be possible to use hes-gallery together with these plugins.
See details about
data-src
in my issue to the official HTML Standard repository.4. Environment
4.1. Minification
I minified
hes-gallery.js
and on the UglifyES online service, version 3.3.9.4.2. Testing
Browsers:
Thanks.