Getting started
Basics
Domains & Origins
Performance

Configuration
Basics
Conditions
Dictionaries
Domains & Origins
Request settings
Cache settings
Headers
Responses
Performance
Custom VCL
Image optimization
Video

Security
Access Control Lists
Monitoring and testing
Securing communications
Security measures
TLS
Web Application Firewall

Integrations
Logging endpoints
Non-Fastly services

Diagnostics
Streaming logs
Debugging techniques
Common errors

Account info
Account management
Billing
User access and control

Reference

    Trimming images

      Last updated June 29, 2018

    Trimming all edges by the same percentage

    Trim all edges by 25%.

    https://www.fastly.io/image.jpg?trim=0.25

    alt text

    Trimming parallel edges the same percentage

    Trim top and bottom edge 25px, right and left edge 50px.

    https://www.fastly.io/image.jpg?trim=25,50

    alt text

    Trimming all edges a different percentage

    Trim top edge 25px, right edge 50px, bottom edge 75px and left edge 100px

    https://www.fastly.io/image.jpg?trim=25,50,75,100

    alt text

    This article describes a product that may use third-party cloud infrastructure to process or store content or requests for content. For more information, see our cloud infrastructure security and compliance program.
    Back to Top