Comments (2)
I think the problem is that you need to provide a valid image
// doesn't work
const html = '<img src="https://example.com/image.jpg" />';
// works
const html = `<img src="http://static.wixstatic.com/media/355241_d31358572a2542c5a44738ddcb59e7ea.jpg_256">`;
from amperize.
I'll update the readme to point to a valid image URL.
from amperize.
Related Issues (15)
- Images HOT 1
- Image size detection
- Request for release tag HOT 1
- Future handling of not supported HTML tags HOT 4
- Request for version bump HOT 10
- get image size timeout
- Images without extensions cause error in `image-size` library
- One wrong image fails it all HOT 2
- Follow redirects for images
- img with unreachable src blocks all amp html HOT 6
- Crashes if an image has certain unencoded chars in the URL
- Sanitizing/Removing Iframe attributes properly HOT 4
- Update dependencies
- Disallow width and/or height properties with % value in iframes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amperize.