<< More Tutorials
How to convert an image to JPG, GIF, PNG, TIF or WebP in HTML using rethumb?
To convert an image to JPG, GIF, PNG, TIF or WebP in HTML use the following code:
<!--
First apply a square operation, then convert to PNG format.
Other formats available: jpg, gif, tiff and webp.
-->
<img src="http://api.rethumb.com/v1/square/100/format/png/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 format.html
More examples using HTML
How to use rethumb in HTML?
How to resize an image by width in HTML using rethumb?
How to resize an image by height in HTML using rethumb?
How to resize an image by width and height in HTML using rethumb?
How to create a square thumbnail from an image in HTML using rethumb?
How to make an image responsive in HTML using rethumb?
How to convert an image to JPG, GIF, PNG, TIF or WebP in HTML using rethumb?
How to resize an image to cover any dimensions in HTML using rethumb?