2017 © Pedro Peláez
 

silverstripe-module silverstripe-backgroundimages

Define background image based on images that your users upload (WIP)

image

titledk/silverstripe-backgroundimages

Define background image based on images that your users upload (WIP)

  • Wednesday, September 7, 2016
  • by titledk
  • Repository
  • 0 Watchers
  • 2 Stars
  • 246 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

SilverStripe Background Images

Define background image based on images that your users upload., (*1)

Usage

/**
 * @return string
 */
public function getBackgroundCSS()
{
    return BackgroundImageStyle::create(
        $this->PrimaryImage()
    )
        ->getCSS();
}
<div style="$BackgroundCSS">
</div>
Identity:
  colors:
    primary: '#111'
    primary-gradient-start: '#222'
    primary-gradient-end: '#333'

The Versions

07/09 2016

dev-master

9999999-dev https://github.com/titledk/silverstripe-backgroundimages

Define background image based on images that your users upload (WIP)

  Sources   Download

MIT

The Requires

 

silverstripe background images

07/09 2016

2.0

2.0.0.0 https://github.com/titledk/silverstripe-backgroundimages

Define background image based on images that your users upload (WIP)

  Sources   Download

MIT

The Requires

 

silverstripe background images

04/07 2016

1.0

1.0.0.0 https://github.com/titledk/silverstripe-backgroundimages

Define background image based on images that your users upload (WIP)

  Sources   Download

MIT

The Requires

 

silverstripe background images