🚨 rethumb will shutdown on September 4th, 2021 🚨 (Twitter)

<< 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