Flip

See original Glide PHP flip docs here

All descriptions are directly quoted from the above docs.


Table of contents

  1. Flip
    1. Flip Constants

Flip

Flips the image. Accepts v, h and both.

Vertically flip the image

glide_url('/path/to/your_amazing_image.jpeg')->flip('v')->url()
//OR
glide_url('/path/to/your_amazing_image.jpeg')->flip(Flip::VERTICAL)->url()

Flip Constants

namespace AmpedWeb\GlideUrl\Interfaces\Flip;

Flip::VERTICAL // same as "v"
Flip::HORIZONTAL // same as "h"
Flip::BOTH // same as 'both'