Last updated May 18, 2020

    The orient parameter controls the cardinal orientation of the image.


    API Pattern



    Parameter Description
    orient How the image will be orientated.

    Parameter Values

    Value Description
    r Orient the image right.
    l Orient the image left.
    h Flip the image horizontally.
    v Flip the image vertically.
    hv Horizontal and vertical flip.
    vh Vertical and horizontal flip.
    1 Default.
    2 Flip the image horizontally.
    3 Horizontal and vertical flip.
    4 Flip the image vertically.
    5 Horizontal flip then orient the image left.
    6 Orient the image right.
    7 Horizontal flip then orient the image right.
    8 Orient the image left.


    By default, if the source image contains orientation information stored within its EXIF data (Exchangeable Image File Format) the image will automatically correct its orientation.


    Description HTML Demo
    Orient the image right <img src="image.jpg?orient=r"/> Example
    Flip the image horizontally <img src="image.jpg?orient=2"/> Example
    Flip the image horizontally and vertically <img src="image.jpg?orient=3"/> Example
    Back to Top