Free Trial
10 days, no credit_card

<< More Tutorials

How to resize an image to cover any dimensions in HTML using rethumb?

To resize an image, with our "cover" operation, in HTML use the following code:

<img src="http://api.rethumb.com/v1/cover/150x200/http://images.rethumb.com/image_coimbra_600x300.jpg">

Start using this example now

Use the following commands to get started:

$ git clone https://github.com/rethumb/rethumb-html-examples.git
$ cd rethumb-html-examples
$ open cover.html

More examples using HTML