Skip to content

robertclarkson/silverstripe-watermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

silverstripe-watermark

include into your Silverstripe directory

Usage: Add a watermarked image somewhere (could be in the CMS or otherwise).

Call addWatermark() on your image, and pass to it an image object (the watermark)

public function getWaterMarkedImage() {
	$watermarkImageObject = $this->Page()->Watermark();
	return $this->HighResolutionDownload()->addWatermark($watermarkImageObject);
}

About

Allows easy adding of watermarks to images in Silverstripe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages