Image.php
public function inline($type = 'jpg', $quality = 80)
    {
        $mime = $type;
        if ($mime == 'jpg') {
            $mime = 'jpeg';
        }

        return 'data:image/'.$mime.';base64,'.base64_encode(file_get_contents($this->cacheFile($type, $quality, true)));
    }
public function inline($type = 'jpg', $quality = 80)
    {
        $mime = $type;
        if ($mime == 'jpg') {
            $mime = 'jpeg';
        }

        return 'data:image/'.$mime.';base64,'.base64_encode(file_get_contents($this->cacheFile($type, $quality, true)));
    }
public function inline ( $ type = 'jpg' , $ quality = 80 ) { $ mime = $ type ; if ( $ mime == 'jpg' ) { $ mime = 'jpeg' ; } return 'data:image/' . $ mime . ';base64,' . base64_encode ( file_get_contents ( $ this -> cacheFile ( $ type , $ quality , true ) ) ) ; }
Returns the Base64 inlinable representation.
Returns the Base64 inlinable representation .