Secure file access

Prevent and discourage unauthorized third-party users from accessing or modifying your images.

Restrict file access to authorized users

Watermark image thumbnails and use features like Private images and image signatures to build custom access controls for images in your application.

Restrict allowed image transformations

Obscure and limit real-time image manipulations that can be performed on your images with just easy to configure dashboard settings.

Imagekit named transformations

Discourage use of URLs on third-party websites

Set your URLs to expire after a certain time to reduce unauthorized hotlinking of your images, just like Facebook and Instagram.

Integrate with any web server
Code snippets

Easily generate secure URLs

Use ImageKit's server-side SDK for a language or framework of your choice and start generating secure URLs in minutes.

Node.js
Python
Ruby and ROR
Java
PHP
.NET
var imageURL = imagekit.url({
    path : "/default-image.jpg",
    queryParameters : {
        "v" : "123"
    },
    transformation : [{
        "height" : "300",
        "width" : "400"
    }],
    signed : true,
    expireSeconds : 300
});
image_url = imagekit.url({
    "path": "/default-image",
    "query_parameters": {
        "v": "123"
    },
    "transformation": [{
        "height": "300",
        "width": "400"
    }],
    "signed": True,
    "expire_seconds": 300
});
image_url = imagekit.url({
    path: "/default-image",
    query_parameters: {
                "v": "123"
    },
    transformation: [{
        height: "300",
        width: "400"
    }],
    signed: True,
    expire_seconds: 300
})
List<Map<String, String>> transformation=new ArrayList<Map<String, String>>();
Map<String, String> scale=new HashMap<>();
scale.put("height","600");
scale.put("width","400");

transformation.add(format);

Map<String, Object> options=new HashMap();
options.put("path","/default-image.jpg");
options.put("signed",true);
options.put("expireSeconds",300);
String url = ImageKit.getInstance().getUrl(options);
$imageURL = $imageKit->url(array(
    "path" => "/default-image.jpg",
    "queryParameters" => array(
        "v" => "123",
    ),
    "transformation" => array(
        array(
            "height" => "300",
            "width" => "400"
        ),
    ),
    "signed" => true,
    "expireSeconds" => 300,
));
Transformation trans = new Transformation()
    .Height(300).Width(400);
string[] queryParams = { "v=123" };

string imageURL = imagekit.Url(trans)
    .Path("/default-image.jpg")
    .QueryParameters(queryParams)
    .Signed(true).ExpireSeconds(300)
    .Generate();
Example usage

Stock Photography Website

Show watermarked image thumbnails to all website visitors while restricting the original, high-quality image URL to paid customers.

Get 20 images for FREE
Try 10 images per month free with 1-month trial. Cancel anytime and still keep your images.
Start your FREE trial now
Royalty-free stock images, photos, videos and more
Wallpaper
Nature
Architecture