Class InlineImage

    • Constructor Detail

      • InlineImage

        public InlineImage​(java.lang.String id,
                           PackageResourceReference packageResourceReference)
        Creates an inline image
        Parameters:
        id - the id
        packageResourceReference - the package resource reference of the image
      • InlineImage

        public InlineImage​(java.lang.String id,
                           IModel<?> model,
                           PackageResourceReference packageResourceReference)
        Creates an inline image
        Parameters:
        id - the id
        model - the model of the inline image
        packageResourceReference - the package resource reference of the image
    • Method Detail

      • onComponentTag

        protected void onComponentTag​(ComponentTag tag)
        Renders the complete image tag with the base64 encoded content.
        Overrides:
        onComponentTag in class Component
        Parameters:
        tag - Tag to modify