Viewing 7 replies - 1 through 7 (of 7 total)
  • First go to Admin/Settings/Media and uncheck “Crop thumbnail to exact dimensions”. In terms of ensuring that images do not break out of the post area, you need to ensure that you do not insert images that are wider than 480px.

    Thread Starter Tee

    (@pumatalk)

    Esmi,

    That’s the issue… most images that I insert are much wider then that therefore I would like a plugin that would proportionally adjust the image to the specified size… So what can i do?

    Thread Starter Tee

    (@pumatalk)

    I found this code here: http://remaginedreality.blogspot.com/2008/02/auto-resize-posted-images-in-wordpress.html

    .storycontent img {
    max-width: 460px;
    width: expression(this.width > 460 ? 460: true);
    }

    If I set it to the max with of let’s say the above, would that proportionally adjust the image?

    Not see that approach myself. The only downside would be that images resized via the browser tend to poor quality. But, on the upside, it wouldn’t hurt to try adding it to your stylesheet using:

    .entry img {
    max-width: 460px;
    width: expression(this.width > 460 ? 460: true);
    }

    The very worst it could do is not work.

    The best approach, longer term, would be to learn how to resize images to suit your site on your own computer. If you use Windows, IrfanView is free and pretty simple to use.

    Thread Starter Tee

    (@pumatalk)

    Thanks for the help 🙂

    I know how to resize the images myself on the computer… I just thought it would be nice if there’s a plugin that resizes them by proportion as well as when you click on the images it would the view would enlarge…

    What do you think?

    Do you mean something like a lightbox? A fancy popup that shows an enlarged version?

    http://wordpress.org/extend/plugins/search.php?q=lightbox

    Thread Starter Tee

    (@pumatalk)

    THanks for the help Esmi!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need help with auto-resizing image (also zoom & proportioned)’ is closed to new replies.