-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
placeholder images are not showing #79
Comments
I've noticed that this issue is only with paper-card, and not with iron-image see the link below https://gist.github.com/togonow/925d9ddb3dd6ba0e33b363bd2289de1f |
/cc @bicknellr The attributes in there are a bit of a mess, but this does indeed not seem to work:
|
Any update on this issue? I have been trying different combination but doesn't seem to work. |
hey.. if i follow the docs/source it should be |
Line 152 in 85958cb
@notwaldorf, in your example <paper-card heading="header"
image="https://placeholdit.imgix.net/~text?txtsize=33&txt=350%C3%97350&w=150&h=150s"
placeholder="http://placehold.it/150x150/FFC107/000000"
preload>
<div class="card-content"><p>Sample content</p></div>
</paper-card> -> <paper-card heading="header"
image="https://placeholdit.imgix.net/~text?txtsize=33&txt=350%C3%97350&w=150&h=150s"
placeholder-image="http://placehold.it/150x150/FFC107/000000"
preload-image>
<div class="card-content"><p>Sample content</p></div>
</paper-card> @togonow, in your linked gist you're camel-casing the attributes but they should be hyphenated when you're setting them using attributes: <paper-card
placeholderImage="data:image/png;base64,..."
preloadImage=true
fadeImage=true
image="http://lorempixel.com/800/800/sports/9"></paper-card> -> <paper-card
placeholder-image="data:image/png;base64,..."
preload-image
fade-image
image="http://lorempixel.com/800/800/sports/9"></paper-card> I completely missed both of these things the first few times I looked at this issue. :) Messing up attributes is really tricky to debug. Unfortunately, there's nothing indicating that you set them incorrectly because there's no way to 'incorrectly' set an attribute: you just end up setting one that does nothing and not setting the one you wanted. Anyway, would the folks running into this mind double checking their attributes? |
Has there been a fix for this yet? Currently it's still not working for me.
|
I have an same issue where placeholder images are not showing, i've tried different combinations of the paper-card attributes below (based on another github issue) but nothing works. and still nothing shows the place holder i even embeded it as a base 64 URI. any idea?
The text was updated successfully, but these errors were encountered: