<acidjs-ximg width="310" height="233" src="images/image-01.jpg"> </acidjs-ximg> <acidjs-ximg width="310" height="233" placeholder="path/to/custom/placeholder.png", src="images/image-01.jpg"> </acidjs-ximg>
HTML Attributes of the Tag
Any native HTML attribute (
style, etc.) is supported, plus the img/acidjs-ximg-specific:
src– URI of the image that will be loaded when scrolled into view.
width– width of the image in pixels.
height– Height of the image in pixels.
title– Optional title of the image.
placeholder– Optional URI to the placeholder image. If not set, one of the system will be used (Check the
PLACEHOLDERSobject in the AcidJs.XImg/classes/XImg.file). You can create your own base-64-encode placeholder with this online tool and add them to the
All attributes are also getters/setters.