Open borisschapira opened 10 years ago
Hi, I'm using some lazy/responsive loading scripts, such as https://github.com/BBC-News/Imager.js/ for tag creation at execution.
"Image" creation is done through <div> and data-src attribute. But rev does not alter those...
<div>
data-src
Before or after rev, I have :
<div style="width: 240px"> <div class="delayed-image-load" data-src="http://placehold.it/{width}" data-alt="alternative text"></div> </div>
Is there a way to configure rev to alter the HTML of my pages, modifying not only src but also data-src (or another data-* attribute).
data-*
Hi, I'm using some lazy/responsive loading scripts, such as https://github.com/BBC-News/Imager.js/ for tag creation at execution.
"Image" creation is done through
<div>
anddata-src
attribute. But rev does not alter those...Before or after rev, I have :
Is there a way to configure rev to alter the HTML of my pages, modifying not only src but also
data-src
(or anotherdata-*
attribute).