Get fully qualified path
1.6M Downloads / Month
Open Source MIT License
public Intervention\Image\Image basePath()
Get the base path for the current image, if instance was initiated from an actual file.
Returns the absolute path of the image file as
null if the image instance wasn't created from a file.
// create an image $img = Image::make('public/foo.jpg'); // get file path $path = $img->basePath();