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

Full Width Featured Image doesn't use maximum resolution available #129

Closed
raamdev opened this Issue Aug 11, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@raamdev
Owner

raamdev commented Aug 11, 2014

When a Featured Image is set to be the Full-Width Featured Image, that image currently loads with a maximum resolution of 700px. The theme should be using the full resolution of the image available, since that would be preferred for an image that's intended to take up the entire width of the page.

Reported here: http://independentpublisher.me/2014/independent-publisher-v1-5-1/#comment-10401

@raamdev

This comment has been minimized.

Owner

raamdev commented Aug 11, 2014

@rad96 questioned why I was changing the default size for the full-size featured image and after some thought I agreed that it was unnecessary to affect everyone with this new change. Instead, I've made it possible to override the default Full-Width Featured Image size with the following code, which can be added to a Child Theme functions.php file:

function __custom_independent_publisher_full_width_featured_image_size() {
    return "full";
}

add_filter( 'independent_publisher_full_width_featured_image_size', '__custom_independent_publisher_full_width_featured_image_size' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment