SproutCMS

This is the code documentation for the SproutCMS project

function previewFocalCrop()

Renders a HTML subset containing a focal crop image

Usage

void $FileAdminController->previewFocalCrop ( string $size , string $filename , string $focal_point_data );

Arguments

  1. string $size
    WxH, e.g. 300x200
  2. string $filename
    E.g. 123_image.jpg
  3. string $focal_point_data
    JSON to store in files.focal_points

Return value

  • void