imsky / holder

:city_sunrise: Client-side image placeholders.
http://holderjs.com
MIT License
5.84k stars 592 forks source link

Image with no text #216

Closed janstieler closed 6 years ago

janstieler commented 6 years ago

Hi, how can i use the holder image without any text? I tried to use it with an space in the &text= but it doesn't work.

Cheers

imsky commented 6 years ago

Check out https://jsfiddle.net/8tak26dm/

<img data-src="holder.js/300x200?text=%20"> should work

janstieler commented 6 years ago

Thanks! I havn't thought to use %20.