Last active
November 25, 2017 00:29
-
-
Save gngeorgiev/126b41254804b0bc60930783597f4de0 to your computer and use it in GitHub Desktop.
sashido-responsive-images.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <script src="./sashido-responsive.js"></script> | |
| <title>SashiDo Responsive Images</title> | |
| </head> | |
| <body> | |
| <img width="200" data-responsive data-src="https://pg-app-2-us-2a5dc6oy16visk2hlsi122vhyey35g.s3.amazonaws.com/d581d97a49bd183e1a668c22167c20ba_SashiDo-db-browser.png" /> | |
| </body> | |
| <script> | |
| var sashidoResponsive = new SashidoResponsive({ appId: 'YOUR_APP_ID' }); | |
| sashidoResponsive.processAll().then(() => console.log('resized')); | |
| </script> | |
| </html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment