Featured image not working (image resize not picked up) (5 posts)

  1. TigerDE2
    Posted 3 years ago #

    Hi everyone,

    I just installed Sidekick and uploaded an image that was originally 2560×1920 pixels big. I attached it as a featured image to my post, then realized it was too big and went into WP's media manager, where I resized it to 2560×403 (thus being wider than 1500px and shorter than 500px, as required by the code: if ( $image && $image[1] >= 1500 && $image[2] <= 500 ). However, the function call to wp_get_attachment_image_src( get_post_thumbnail_id(), 'sidekick-panoramic' ) still returns Array ( [0] => http://.../wp-content/uploads/2013/06/WP_002681-666x500.jpg [1] => 666 [2] => 500 [3] => 1 ); the URL being for a thumbnail created of the original - not the resized - picture.

    I seem to be not the only person with featured image related problems: http://en.forums.wordpress.com/topic/sidekick-theme-has-no-panoramic-header-option-as-shown

    I'm sure it's an oversight on my part, and I'd appreciate any and all pointers you can give me.

    Best regards,

    P.S.: I'm not sure how the following quote from http://theme.wordpress.com/themes/sidekick/ goes together with the actual source code above:

    Sidekick will display a post’s featured image, full browser width, if its aspect ratio is at least 3×1 (width x height) and its minimum width is 1500px.

    If the picture is 1800×600px, the text says it'll work, the source code says (if I understand correctly) it won't.

  2. TigerDE2
    Posted 3 years ago #

    I just downloaded the resized image and uploaded it again under a different filename, and that's working. I suppose the problem is that the original file is kept on the server and picked up by that function...

    Does anyone know where the bug tracker is nowadays?

  3. WPyogi
    Forum Moderator
    Posted 3 years ago #

    If your site is on WordPress.COM - you're on the wrong forums - try here:


    Otherwise, note that .COM versions of themes are not identical to .ORG versions.

  4. TigerDE2
    Posted 3 years ago #

    Hi WPyogi,

    I'm hosting my blog myself; thank you. ;)
    I just mentioned those links because I have a hunch the problems might be related... :)

  5. TigerDE2
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic