Thumbnail::heigthen

Description

public Thmbnail::heigthen( int $height ): self

Resizes the current image to new height, constraining aspect ratio.

Paremeters

height

The new height of the image

Return Values

Returns the RolandStarke\Thumbnail\Thumbnail object for method chaining.

Examples

<img src="{{ Thumbnail::src('cat.jpg', 'public')->heigthen(100)->url() }}">

<?php
    //inside config/thumbnail.php
    'heigthen' => '100',