Free Trial
10 days, no credit_card

<< More Tutorials

How to use rethumb in Javascript?

To use rethumb in Javascript try the following code:

        <script language = "JavaScript">
        window.onload = function()
            var newImage = new Image;
            newImage.onload = function() {
                document.getElementById("img1").src = this.src;

            newImage.src = "";

        <img id="img1">

Start using this example now

Use the following commands to get started:

$ git clone
$ cd rethumb-javascript-examples
$ open generic.html

More examples using Javascript