WordPress.org

Ready to get started?Download WordPress

Forums

Image question (8 posts)

  1. visionquest
    Member
    Posted 7 years ago #

    Question on images in WP:

    Can the image automatically be resized to neatly fit the width of the theme? I have some users who have no clue about photo dimensions or reducing them.

  2. moshu
    Member
    Posted 7 years ago #

    Then you have to teach them...
    I don't know of any "automatic" image resizing. It always has to be done BEFORE uploading the image.

  3. Pheonix13
    Member
    Posted 7 years ago #

    I'm trying to figure out how to add a small image to the left and right of my title. Can anyone help me with htis?

  4. moshu
    Member
    Posted 7 years ago #

    Title of what?

  5. Pheonix13
    Member
    Posted 7 years ago #

    The title of my Blog is What's It All About, Jack? You can find it at http://www.whatsitallaboutjack.com. I would like to put small images of the 2 blog authors On the left and right of the title in the header.

  6. daverea
    Member
    Posted 7 years ago #

    I beg to differ - I don't know how it's done or what tag is used to control it, but somehow the wordpress default theme "resizes" images that are wider than the text column. Maybe it's taking the inefficient route of resizing in the browser by passing the width= parameter inside the img tag?

    When I use the default theme with my blog (daverea.com) it shows the images cleanly the same width as the text column. Using other themes, if the image's pixel dimensions are wider than the text column, the image spills underneath the menus on the right side.

    So it is possible, we just need to figure out how it's done.

  7. daverea
    Member
    Posted 7 years ago #

    As a follow-up to my last post, upon looking a little closer at the "resized" images that come through with the default theme, I'm noticing some "jaggies" in them that would indicate the image is being brute-force resized by the browser in response to a width= parameter inside an img tag.

    How to get a theme to follow that behavior and include a width= forcing parameter is still beyond me, but I think that gets us a little closer...

  8. Ryan Fitzer
    Member
    Posted 7 years ago #

    The default theme does this with css.

    p img {
    padding: 0;
    max-width: 100%;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.