Free Trial
10 days, no credit_card

<< More Tutorials

How to create a square thumbnail from an image in HTML using rethumb?

To create a square thumbnail in HTML use the following code:

<img src="http://api.rethumb.com/v1/square/100/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 resize-to-square.html

More examples using HTML