Support » Theme: Anissa » Image Sizing

  • Resolved twopinkpeonies

    (@twopinkpeonies)


    The image sizing is all over the place despite image sizing widgets. What can I do to fix this? I’m tired of the images being huge despite me resizing them.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Images can be somewhat of a pain.

    I would like to help, but I’m not sure I understand your problem. Could you clarify?

    /Cecilia

    Thread Starter twopinkpeonies

    (@twopinkpeonies)

    Hi Cecilia, the width on preview posts is not correct. How can I resize it so my images aren’t so huge on my homepage?

    Now I see what you mean. At least I think so:
    The image in your blog post is smaller than the “container” for images in the blog roll so it blows your images up to fit that container. Which leads to the images not appearing the way you want since it takes a portion of it and it’s also too big.

    The image you upload is 225 px wide and 300 px high and that is what is shown in you blog post. For the blog roll it makes another version of the file that is 400 px wide and 300 px high.

    1. So one way of getting control of what the photo will look like is to change the file size before uploading to (at least) 400 px wide.
    It would still be as big but you would be in charge of what the image will look like.

    2. If you want to change the container itself in the blog roll so the images don’t turn out so big at all you would need to make changes in the CSS. Are you familiar with CSS?

    element {
    display: inline;
    }
    .featured-image img {
    width: 100%;
    height: auto;
    }

    When I change the above to this, the image presents itself smaller and is centered.

    element {
    display: block;
    }
    .featured-image img {
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    }

    /Cecilia

    Now I see what you mean. At least I think so:
    The image in your blog post is smaller than the “container” for images in the blog roll so it blows your images up to fit that container. Which leads to the images not appearing the way you want since it takes a portion of it and it’s also too big.

    The image you upload is 225 px wide and 300 px high and that is what is shown in you blog post. For the blog roll it makes another version of the file that is 400 px wide and 300 px high.

    1. So one way of getting control of what the photo will look like is to change the file size before uploading to (at least) 400 px wide.
    It would still be as big but you would be in charge of what the image will look like.

    2. If you want to change the container itself in the blog roll so the images don’t turn out so big at all you would need to make changes in the CSS. Are you familiar with CSS?

    Your current setting is:

    element {
    display: inline;
    }
    .featured-image img {
    width: 100%;
    height: auto;
    }

    When I change the above to this, the image presents itself smaller and is centered.

    element {
    display: block;
    }
    .featured-image img {
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    }

    /Cecilia

    Thread Starter twopinkpeonies

    (@twopinkpeonies)

    Thank you, Cecilia!!!! It is now fixed

    Great! You’re welcome.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image Sizing’ is closed to new replies.