belsignum/container-background

dev-main 2024-10-29 14:20 UTC

This package is auto-updated.

Last update: 2024-11-29 14:35:22 UTC


README

Provides a background resource tab within Container Elements "Page Container (ce_container)" for adding a background image to this content element

Installation

  1. composer req belsignum/container-background
  2. Insert static TypoScript template
  3. Checkout constants if they fit your needs
    • default dimensions are 1920w and 1280w
    • CSS density 1x and 2x is used to provide image formats
    • Template supports up to 5x
    • Check "use.javaScript" adding JS for loading backgrounds when DOM ready
    • Check "use.css" adding CSS