-
Notifications
You must be signed in to change notification settings - Fork 79
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
Blocks: FeaturedImage component #36
Comments
The more I think about it, the more I think we should use the same UI for the size that we do for avatars. What do you think of that, @vedanshujain? Maybe we could abstract the AvatarSize component and rename it so that it could work for both scenarios. That would only affect the stuff in the Inspector panel, not the actual FeaturedImage component. |
We already support linking featured image in editor. This patch adds support for linked image in rendered post as well. Also markup is changed a bit (especially classnames) to make both editor and rendered post consistent. Towards #36
I wonder if that's a good idea, because it seems to go against WYSIWYG. |
🤔 I guess either way, the image doesn't look great in the context of the other featured images that do have the right width and resolution. @melchoyce any thoughts here on expected behavior? To clarify, if we're setting the width of the featured images for a group of sponsor posts, should images that have a lower original width than our setting be displayed at their maximum width, or at the width we set, and be pixelated? |
Left a note about this on #62. |
We already support linking featured image in editor. This patch adds support for linked image in rendered post as well. Also markup is changed a bit (especially classnames) to make both editor and rendered post consistent. Towards #36
We already support linking featured image in editor. This patch adds support for linked image in rendered post as well. Also markup is changed a bit (especially classnames) to make both editor and rendered post consistent. Towards #36 git-svn-id: https://meta.svn.wordpress.org/sites/trunk/wordcamp.org@8599 74240141-8908-4e6f-9713-ba540dce6ec7
Most of this is fixed. Some discussion in #62 . Closing this one. |
Here are remaining issues I see with this component, including some based on unresolved discussions from #33:
render_featured_image
to includes/shared.php (#) (Edit: Being fixed in Miscellanous blocks fixes #66 )The text was updated successfully, but these errors were encountered: