WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Resizing images from urls (2 posts)

  1. carldesigns
    Member
    Posted 5 years ago #

    Any way when some one post up an image with a url that is over 428 px in width that it can be resize to 428px by and any thing under 428 px wont be effected with a script or plugin?

    Thanks.

  2. carldesigns
    Member
    Posted 5 years ago #

    Solved that fast, sorry..
    For those who wonder how to do this, it's in your css.

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

    428 is my max width for my entry column so change it to yours...

Topic Closed

This topic has been closed to new replies.

About this Topic