Homepage pane featured image size?

  • kenmcneill

    #3679

    I’m unable to locate the setting for the size of the featured images. In particular, I’m trying to set the dimensions for the featured image in the homepage panes. I tried using the ajax thumbnail rebuild plugin, but to no avail. It did, however, display this in the rebuild selections – “graphene-homepage-pane (340×170 cropped)”. That leads me to think that it’s either a selection I can’t find, or hard-wired.(?)

    Ideally, I’d like to set max. dimensions, and have the image resized like any other post. Failing that, I’d like to set a fixed size, or pre-size my uploaded images.

    My site – http://kenmcneill.com

    Thanks,

    Ken

    kenmcneill

    #24586

    I also find that if I don’t define a featured image, any local image in the post becomes the featured image for the homepage pane.(?)

    Thanks again…

    puenktchen124

    #24587

    Did you find out why featured images are cropped?

    Same problem here. When i uploaded a featured image 2 month before, the images had full width (without cropping) in the homepage pane.

    http://events.cmd-events.de

    Thanks,

    Sonja

    kenmcneill

    #24588

    Sonja, I don’t know why, but it seems that they are getting a crop command from a bit of php in theme-setup(?) At that point, I decided I was out of my depth, and learned to live with it. 😉

    I find it curious that if you set a featured image, the homepanes coding sets it as left aligned. If you let it pull the image from your post, it aligns to the center. Both ways are the same size and aspect ratio.

    Ken

    http://kenmcneill.com

    Mod

    Kenneth John Odle

    #24589

    The relevant part of the style sheet is

    .homepage_pane .excerpt-thumb {
    text-align: center;
    }
    .homepage_pane img{
    -moz-box-shadow: -2px 2px 5px #777;
    -webkit-box-shadow: -2px 2px 5px #999;
    box-shadow: -2px 2px 5px #999;
    margin: 0 auto 5px auto;
    max-width: 100%;
    height: auto;
    }

    Copy and paste that into your child theme’s style sheet or into custom CSS option and play around with the various options.

    Not tested; YMMV

    Prasanna SP

    #24590

    @Ken,

    YMMV: Another acronym added for my dictionary! 🙂

    Mod

    Kenneth John Odle

    #24591

    @prasanna,

    Did you see my dictionary?

    Prasanna SP

    #24592

    I’m ROFL after reading them. Some of them will never enter my /dev/null

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!