Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Featured image optimization #909

Merged

Conversation

EricRihlmann
Copy link
Contributor

@EricRihlmann EricRihlmann commented Oct 20, 2016

Created new images sizes specifically for use with featured images on posts/pages. Image sizes are optimized for display in landscape aspect ratios and for HiDPI displays on small and medium screen sizes. Also updated the single.php post template to use the same full width featured image layout as pages.

These variables were added in a previous commit
but never referenced in any code.

795804a
Added new image sizes specifically for featured
images that are optimized for landscape aspect
ratio and updated SCSS for new ratio as well.
Previously the 'single.php' template had the featured
image inserted inline as an image tag. Now it shares
the same layout used for pages by including
'template-parts/featured-image.php'.
@olefredrik
Copy link
Owner

Great stuff 👏

@olefredrik olefredrik merged commit 6b98a87 into olefredrik:master Oct 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants