$file->original()

Returns the reference to the original file (for thumbnails)

  • return ($file)

Example:

var_dump($page->image('myimage.jpg')->resize(300, 200)->original());

Is something missing or incorrect? Edit this page on Github…