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

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

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 raamdev added this to the Next Release milestone Aug 11, 2014
@raamdev raamdev added the bug label Aug 11, 2014
@raamdev raamdev closed this in 79898a2 Aug 11, 2014
@raamdev
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