Thumbnail CDN API
Welcome to the documentation for our Thumbnail CDN API. This API allows users to dynamically create thumbnails of varying sizes according to their needs. The thumbnails are generated on-the-fly and cached within CDN for speedy delivery across the globe.
Custom Image Resize
Convert To webp
Free & Easy to Use
This API emphasizes the importance of selecting optimal thumbnail formats and sizes. Such choices significantly impact the Largest Contentful Paint (LCP) metric and SEO performance, enhancing user experience and discoverability.
API Base URL
https://thumbnail.techlife.app
This base URL serves as the entry point for all requests to the Custom Thumbnail CDN API.
Authentication
No Authentication
Making a Request
The Custom Thumbnail CDN API utilizes a simple GET request structure, allowing easy integration into any project.
Request Structure
GET /{image_url}&w={width}&h={height}
image_url
: Required, The URL of the original image you wish to create a thumbnail for. Image URL must support https. URL Withouthttps://
.width
: Optional, The desired width of the thumbnail in pixels. Must be a positive integer. Default: 300height
: Optional, The desired height of the thumbnail in pixels. Must be a positive integer.
Example Request
GET https://thumbnail.techlife.app/dummyimage.com/1200x500?w=120&h=50
This request specifies an original image hosted at https://dummyimage.com/1200x500
, and requests a thumbnail with dimensions of 120x50 pixels.
Responses
Success Response
Upon successful request processing, the server will respond with the requested thumbnail image. The response includes the following headers:
Content-Type
: The MIME type of the thumbnail, typicallyimage/webp
.Cache-Control
: Indicates that the response is cacheable for a specified duration within the CDN and possibly by the client.
Turbo
Accelerated access with wordpress free image cdn (jetpack).
GET https://i0.wp.com/thumbnail.techlife.app/dummyimage.com/1200x500?w=120&h=50
Support
Thank you for using our Custom Thumbnail CDN API. For any further inquiries or support, please contact us at [email protected]
.