ThumbnailService

Deals with any thumbnail specific requests

package

OCA\Gallery\Service

Methods

Returns thumbnail specs

getThumbnailSpecs(boolean $square, double $scale) : \OCA\Gallery\Service\array<double|\OCA\Gallery\Service\boolean>
  • Album thumbnails need to be 200x200 and some will be resized by the browser to 200x100 or 100x100.
    • Standard thumbnails are 400x200.

Arguments

$square

boolean

$scale

double

Response

\OCA\Gallery\Service\array

Properties

animatedPreview

animatedPreview : boolean
var

Type(s)

boolean

base64Encode

base64Encode : boolean
var

Type(s)

boolean