Block on the image background

This example shows how to set an image as the background of a block.


    <!DOCTYPE html>
            <meta charset="utf-8">
            <!-- css -->
            <link rel="stylesheet" href="/your-folder/revolvapp.css" />
            <!-- element -->
            <div id="myemail"></div>
            <!-- js -->
            <script src="/your-folder/revolvapp.js"></script>
            <!-- call -->
            Revolvapp('#myemail', {
                editor: {
                    path: '/your-path-to-revolvapp-folder/',
                    template: '/your-path-to-template-file.html'
                image: {
                    upload: '/my-backend-upload/'


    Use background-image and background-size attributes to specify the image as a background for a block. For example:

    <re-block background-size="cover" background-image="/path-to/my-background.jpg">