Skip to content
Tueri.io implementation for vanilla JavaScript
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.babelrc
.gitignore
README.md
index.html
package-lock.json
package.json
webpack.config.js

README.md

Tueri.io - Javascript Integration

Integrate Tueri.io with Javascript

Installation

<script src='https://cdn.jsdelivr.net/gh/tueriapp/vanilla-tueri@<latest-version>/dist/tueri.min.js'></script>

Be sure to change <latest-version> for the current release version ie. 1.0.6

Usage

Change <img src='...' /> to <img tueri-src='...' />

<!-- change src -->
<img src="https://cdn.tueri.io/..." alt="Alternate Text"/>

<!-- to tueri-src -->
<img tueri-src="https://cdn.tueri.io/..." alt="Alternate Text/>

Tueri automatically detects the dimensions of the parent element, then generates and returns your image in exactly the right dimensions to fill the parent element.

You can’t perform that action at this time.